You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a result, it seems necessary to either develop a new router that combines next/router with history.state or use another browser storage solution (such as session or local storage)
I’d like to hear your thoughts on these approaches.
etc.
No response
The text was updated successfully, but these errors were encountered:
Package Scope
@use-funnel/next
Bug description
I reviewed the comments on the issue #63 and applied the emergency patch for
@use-funnel/next
to investigate further.While the issue with reading the
step
property has been resolved, I noticed that the funnel doesn’t function correctly after a page refresh.After clicking the "Next" button and refreshing the page on the "End" page, it redirects back to the "Initial" page.
After that, clicking the "Next" button again does nothing, and only the query index increases.
Expected behavior
The funnel should work as expected.
To Reproduce
I used the exact example provided in the issue #63.
Environment
Possible Solution
The main reason of this issue seems to be that
@use-funnel/next
is unable to utilizehistory.state
.I checked whether
history.state
is supported by the page router, but as shown below, it is not yet supported.As a result, it seems necessary to either develop a new router that combines
next/router
withhistory.state
or use another browser storage solution (such as session or local storage)I’d like to hear your thoughts on these approaches.
etc.
No response
The text was updated successfully, but these errors were encountered: