The right lifecycle should be
- mount/3
- handle_prams/3
- render/3
The right lifecycle should be
Could you paste a link to doc, that can confirm right livecyle, please?
From the LiveView source code:
From post in ElixirForum, it mentions:
handle_params
is called aftermount
And from the course provided by Pragmatic Studio. It mentions this order in a section, but I can’t remember which one, sorry.
Right you are! We’ll correct this in an upcoming Beta release. Thanks for pointing this out
@redrapids, I’ll update the prose but I believe you have the source file for the image on page 94. Go ahead and update then when you get a chance. Thanks!
Thanks for the heads up! This change is made and will go out in the next release.