elm-spa
elm-spa copied to clipboard
Init not called when query params change
It seems that init is only called when the path changes https://github.com/ryannhg/elm-spa/blob/main/src/cli/src/defaults/Main.elm#L81. Is there any reason not to compare the whole url here? i.e.
ChangedUrl url ->
if url /= model.url then