Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Hydration advantages?

While hydration is briefly touched on in the documentation, I haven't completely groked what the advantage of using is, aside from the fact that the hydrated records that are hydrated are read only. Is there a performance advantage or something else that I'm missing about using hydration?



1.9k

I apologize if I missed a setting for "bounty". I haven't used the formum much.



33.6k
Accepted
answer

If you're using classes with defined properties, the default option is the most performant one. Anyway, it depends on what you feel more confortable to work with.