-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: pmndrs/zustand
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.5.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: pmndrs/zustand
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.5.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 10 commits
- 13 files changed
- 7 contributors
Commits on Jan 20, 2024
-
docs(persist): add info about
createJSONStorage
helpful function (#……2299) * first pass at docs * add jump-to-section
1Configuration menu - View commit details
-
Copy full SHA for 27bffb1 - Browse repository at this point
Copy the full SHA 27bffb1View commit details
Commits on Feb 8, 2024
-
Update docs related to SSR/Hydration and SSR Apps (#2298)
* Update deprecation comments * Update testing guide * WIP * Minor fixes * WIP * Update docs/guides/ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/guides/ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * WIP * Minor changes * Minor changes * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * Update ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * Update ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * Update ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * Update ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * Update ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * Update ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * Update ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * Update ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/guides/nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/guides/ssr-and-hygration.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/guides/nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Minor fixes * Update docs/guides/nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/guides/nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/guides/ssr-and-hydration.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/guides/ssr-and-hydration.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/guides/ssr-and-hydration.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/guides/ssr-and-hydration.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/guides/nextjs.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/guides/nextjs.md Co-authored-by: Charles Kornoelje <[email protected]> * Update docs/guides/ssr-and-hydration.md Co-authored-by: Charles Kornoelje <[email protected]> * Update ssr-and-hydration.md * Update docs/guides/ssr-and-hydration.md Co-authored-by: Charles Kornoelje <[email protected]> --------- Co-authored-by: Blazej Sewera <[email protected]> Co-authored-by: Charles Kornoelje <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f64a111 - Browse repository at this point
Copy the full SHA f64a111View commit details
Commits on Feb 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 02ddd70 - Browse repository at this point
Copy the full SHA 02ddd70View commit details
Commits on Feb 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b466a75 - Browse repository at this point
Copy the full SHA b466a75View commit details
Commits on Feb 15, 2024
-
docs(middleware): modify both
set
andsetState
(#2306)* docs(middleware): modify `set` and `setState` * update middleware docs
Configuration menu - View commit details
-
Copy full SHA for eb8443f - Browse repository at this point
Copy the full SHA eb8443fView commit details
Commits on Feb 16, 2024
-
* Update nextjs guide * Minor changes * Minor changes * Minor changes * Minor changes * Minor changes * Minor changes
Configuration menu - View commit details
-
Copy full SHA for 8c1a1f0 - Browse repository at this point
Copy the full SHA 8c1a1f0View commit details
Commits on Feb 17, 2024
-
refactor: Relax types for
persist
middleware (#2332)Right now, we're requiring new `StateStorage` implementations to forcefully return `void` from inside `setItem` and `removeItem`. When using a library that returns the set value for `setItem` or `removeItem`, therefore returning a `string`, it causes Typescript to fail, requiring some weird workarounds. For example, when using `localforage` (https://github.com/localForage/localForage) one needs to do what we describe below. Notice the `void` keyword. ```typescript const storage: StateStorage = { ...localForage, setItem: void localForage.setItem.bind(localForage) } ``` Another, longer, alternative is ```typescript const storage: StateStorage = { ...localForage, // Curly braces are required because we need to "return `void`" setItem: (name, value) => { localStorage.setItem(name, value) } } ``` By changing the type implementation to ignore types - using unknown - we can simply use `localforage` - and similar libraries - as if we were using `window.localStorage`
Configuration menu - View commit details
-
Copy full SHA for 7d2525e - Browse repository at this point
Copy the full SHA 7d2525eView commit details -
Configuration menu - View commit details
-
Copy full SHA for a85865b - Browse repository at this point
Copy the full SHA a85865bView commit details -
Configuration menu - View commit details
-
Copy full SHA for e174cc8 - Browse repository at this point
Copy the full SHA e174cc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6109bc3 - Browse repository at this point
Copy the full SHA 6109bc3View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.5.0...v4.5.1