When using phx.gen.live
with phoenix 1.7.14 the generated code in index.html.heex
uses patch
instead of navigate
. When looking up the template it seems this was changed in this commit. Why does the addition of streams make a difference here? Is it still the same live view just with a different action?
Edit: Oh, wait. Is it just because we do not actually need to run mount
again since the products stream is updated anyway?