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
``Description
Using Next.js, SWR had tried SSR but still no luck :/
On first load the data is fetched using SWR and passed to Slate. Once I change routes the data is fetched but Slate isn't getting the data from the Database anymore
@NorkzYT Nope :/ Can't seem to figure it out either... using and tag instead of next/link forcing it to refresh the page work but awful UX. Really need to use next/link but can't seem to find a solution.
@wrongakram
Thank you very much for the video, I appreciate it. I saw the video and this looks promising as to what I want to accomplish.
Please do advise if your solution stops working.
``Description
Using Next.js, SWR had tried SSR but still no luck :/
On first load the data is fetched using SWR and passed to Slate. Once I change routes the data is fetched but Slate isn't getting the data from the Database anymore
Recording
https://loom.com/share/508c7c4ad5e040d7bc42fc8955c593c1
Sandbox
A link to a sandbox where the error can be reproduced. (You can start from the base sandbox here: https://codesandbox.io/s/slate-reproductions-c7gyg or refer to the Slate website too.)
Expectation
Everytime I change routes Slate should update its value to match onces coming in from the DB
Environment
The text was updated successfully, but these errors were encountered: