Useful clarification recently added by Jose when deciding whether to use mount or handle_params
Note the parameters given to
c:handle_params/3are the same as the ones given
toc:mount/3. So how do you decide which callback to use to load data?
Generally speaking, data should always be loaded onc:mount/3, sincec:mount/3
is invoked once per LiveView life-cycle. Only the params you expect to be changed
vialive_patch/2orpush_patch/2must be loaded onc:handle_params/3.


















