flowstate
Advanced tools
Changelog
[0.6.0] - 2023-10-18
TODO: Review this for accuracy.
preventReturnTo
argument to res.redirect
(or second, when
optional status
is not supplied) that prevents adding the return_to
query
parameter to the URL. Useful when the URL includes that a different parameter
set to that value.resumeState
property of state objects to state
.returnTo
property of current state in all cases. This avoids
needing to reference the location
property of the state to resume,
optimizing state store access and allowing state targetting different
locations to be stored in different stores.returnTo
and state
parameters are added as query parameters when
redirecting.returnTo
and state
variables are set as locals when rendering.returnTo
and state
are set when pushing state.