Closed tornqvist closed 5 years ago
Is this a breaking change?
It could be, if a store is checking for these properties in state
to determine if it has been initialized before or not. Also, in combination with https://github.com/choojs/choo/pull/649 these properties will always be in state on initialization, as opposed to only after the first call toString
.
@yoshuawuyts mentioned on IRC that the init order has been switched around before, but not as a breaking change and apparently it caused issues for some people.
This adds back the changes made in #695 ensuring that
href
,query
,params
etc. are in the state before the stores are initialized.