elm-spa icon indicating copy to clipboard operation
elm-spa copied to clipboard

Init not called when query params change

Open opsb opened this issue 3 years ago • 0 comments

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

opsb avatar Dec 26 '21 21:12 opsb