during the delay it does not change the state, it waits until the requests are all finished, then it returns #2080
Unanswered
Musho-T
asked this question in
Bug report
Replies: 1 comment
-
|
The code looks okay for SPA, so it's nextjs specific, I guess. Client state only works on client. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
package version:
"next": "13.2.1",
"react": "18.2.0",
"zustand": "4.4.1",
"react-dom": "18.2.0",
after going to the page through the spa the state { loading: true } does not change and immediately shows { loading: false }
actions is called in getInitialProps (to the server)
Beta Was this translation helpful? Give feedback.
All reactions