mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
* Add section for usage of persist middleware with NextJS I have spent the last 1h30m trying to find the solution for `Hydration failed because the initial UI does not match what was rendered on the server` and after digging a lot I found the solution. So i thought: Maybe this could be on official documentation! So I made it. It's just copy and paste but at least it will be easier for future folks trying to solve the same problem * ran yarn prettier * fix typos * Update docs/integrations/persisting-store-data.md Co-authored-by: Blazej Sewera <code@sewera.dev> * splitting long lines into smaller ones following the suggestion of PR * commit suggestion of changes in PR Co-authored-by: Blazej Sewera <code@sewera.dev> * commit suggestion of changes in PR Co-authored-by: Blazej Sewera <code@sewera.dev> * commit suggestion of changes in PR Co-authored-by: Blazej Sewera <code@sewera.dev> * commit suggestion of changes in PR Co-authored-by: Blazej Sewera <code@sewera.dev> * applying changes requested in PR --------- Co-authored-by: Blazej Sewera <code@sewera.dev>