forked from pmndrs/zustand
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] main from pmndrs:main #5
Open
pull
wants to merge
468
commits into
Kadantte:main
Choose a base branch
from
pmndrs:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* fix(readme): description with createWithEqualityFn * fix wording --------- Co-authored-by: Blazej Sewera <[email protected]>
…alize with props docs (#1997) * Do not recommend deprecated useStore + equalityFn * Show alternative without equality function * Adjust content to be more clear * Update docs/guides/initialize-state-with-props.md Co-authored-by: Blazej Sewera <[email protected]> * Apply prettier --------- Co-authored-by: Blazej Sewera <[email protected]>
* docs: Update typescript guide persist examples to add required name option * docs: run prettier * docs: reverting prettier changes to testing.md * docs: Update docs/guides/typescript.md per review comment. Co-authored-by: Blazej Sewera <[email protected]> * docs: Update docs/guides/typescript.md per review comment and zustand conventions. Co-authored-by: Blazej Sewera <[email protected]> * docs: change persist options name property to bearStore for consistency. --------- Co-authored-by: John Gilliland <[email protected]> Co-authored-by: Blazej Sewera <[email protected]>
* Update testing docs * Minor fixes * Minor fixes * Update testing.md
* Add third party library under integrations - [persist-and-sync](https://www.npmjs.com/package/persist-and-sync) - Zustand middleware to easily persist and sync Zustand state between tabs / windows / iframes (SameOrigin) * update gitignore to ignore pnpm-lock.yaml * Comment response - ignore only pnpm-lock - add GitHub repo * Undo changes to .gitignore * update as per suggestion on another PR + add bungle size badge * Update docs/integrations/third-party-libraries.md Sure! Co-authored-by: Daishi Kato <[email protected]> * Update third-party-libraries.md Improve wordings as requested --------- Co-authored-by: Daishi Kato <[email protected]>
* Add third party library * added GitHub * Update docs/integrations/third-party-libraries.md Co-authored-by: Daishi Kato <[email protected]> * Update docs/integrations/third-party-libraries.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/integrations/third-party-libraries.md Thanks! Co-authored-by: Blazej Sewera <[email protected]> --------- Co-authored-by: Daishi Kato <[email protected]> Co-authored-by: Blazej Sewera <[email protected]>
* Fix Immer import The `produce` function is a named export, not a default export: https://immerjs.github.io/immer/produce * Fix other references to "produce" as well.
* add missing import, change name store, change the func in app to two variables * Update docs/guides/updating-state.md --------- Co-authored-by: Daishi Kato <[email protected]>
* Ignored pnpm-lock.yaml as discussed here - #2014 (reply in thread) * fix: upgrade @types/three from 0.154.0 to 0.155.0 Snyk has created this PR to upgrade @types/three from 0.154.0 to 0.155.0. See this package in npm: See this project in Snyk: https://app.snyk.io/org/mayank1513/project/d7dd1e78-71d1-4d81-8173-d307d8d0eea9?utm_source=github&utm_medium=referral&page=upgrade-pr --------- Co-authored-by: snyk-bot <[email protected]> Co-authored-by: Daishi Kato <[email protected]>
* Ignored pnpm-lock.yaml as discussed here - #2014 (reply in thread) * fix: upgrade @react-three/fiber from 8.13.5 to 8.13.7 Snyk has created this PR to upgrade @react-three/fiber from 8.13.5 to 8.13.7. See this package in npm: See this project in Snyk: https://app.snyk.io/org/mayank1513/project/d7dd1e78-71d1-4d81-8173-d307d8d0eea9?utm_source=github&utm_medium=referral&page=upgrade-pr --------- Co-authored-by: snyk-bot <[email protected]> Co-authored-by: Daishi Kato <[email protected]>
* fix(docs): zustand v3 context migration doc * Update docs/previous-versions/zustand-v3-create-context.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/previous-versions/zustand-v3-create-context.md Co-authored-by: Blazej Sewera <[email protected]> * Update docs/previous-versions/zustand-v3-create-context.md Co-authored-by: Blazej Sewera <[email protected]> --------- Co-authored-by: Blazej Sewera <[email protected]>
* Update slices-pattern.md * Update typescript.md * Fix format * Update typescript.md Co-authored-by: Blazej Sewera <[email protected]> * Update typescript.md Co-authored-by: Blazej Sewera <[email protected]> --------- Co-authored-by: Blazej Sewera <[email protected]>
* Update usage without React on recipes.mdx Makes recipes.mdx usage without React inline with the readme.md description, because the current recipes.mdx usage is deprecated * Update docs/recipes/recipes.mdx Change copy Co-authored-by: Blazej Sewera <[email protected]> * remove empty line on recipes.mdx --------- Co-authored-by: Blazej Sewera <[email protected]>
* Clean up files * Update readme * Minor changes * Update readme.md Co-authored-by: Daishi Kato <[email protected]> * Update readme.md Co-authored-by: Daishi Kato <[email protected]> * Update readme.md * Update readme.md Co-authored-by: Daishi Kato <[email protected]> --------- Co-authored-by: Daishi Kato <[email protected]>
* fix(types)(middleware/devtools): avoid copying types * hack for old ts * add a note about devtools and typescript * add a space * Update docs/recipes/recipes.mdx Co-authored-by: Blazej Sewera <[email protected]> * fix readme --------- Co-authored-by: Blazej Sewera <[email protected]>
…n React 18 using Zustand (#903) (#2088) * test(ssr): Validate state synchronization between server and client in React 18 using Zustand (#903) * test(ssr): dynamically import hydrateRoot for React 18 and skip if version < 18 * test(ssr): implement conditional describe based on React version * test(ssr): Refactor SSR code using skipIf and importActual * test(ssr): Refactor code using 'importActual' with a more specific type for 'hydrateRoot' * test(ssr): remove async from the main test function --------- Co-authored-by: Daishi Kato <[email protected]>
* feat: add useShallow See - #1937 - #1937 (reply in thread) - #1937 (reply in thread) * chore(useShallow): improve unit tests * chore(useShallow): PR feedback #2090 (comment) * fix(useShallow): tests not working on test_matrix (cjs, production, CI-MATRIX-NOSKIP) * chore(useShallow): fix eslint warning issue (unused import) * refactor(useShallow): simplify tests * docs(useShallow): add guide * fix(useShallow): prettier:ci error https://github.com/pmndrs/zustand/actions/runs/6369420511/job/17289749161?pr=2090 * docs(useShallow): update readme * docs(useShallow): remove obsolete line from readme Co-authored-by: Daishi Kato <[email protected]> * doc(useShallow): PR feedback #2090 (comment) * docs(useShallow): small improvements of the useShallow guide --------- Co-authored-by: Daishi Kato <[email protected]>
* chore(deps): update dev dependencies * run prettier * fix tsconfig * fix workflow file
* Update testing docs * Minor changes * Minor changes * Minor changes * Minor changes * Minor changes * Update docs/guides/testing.md Co-authored-by: Blazej Sewera <[email protected]> --------- Co-authored-by: Blazej Sewera <[email protected]>
* Update readmes * Splitting shallow in two modules * Update tests * Minor changes * Minor changes * Rename shadow.tests.tsx to shallow.test.tsx * Add new entrypoint for shallow/react * Update structure * Update shallow to export from vanilla and react * Add vanilla/shallow and react/shallow entrypoints * Update tests * Update readmes * Update src/shallow.ts Co-authored-by: Daishi Kato <[email protected]> * Minor changes * Update readmes * Update readmes * Update tests * Minor changes --------- Co-authored-by: Daishi Kato <[email protected]>
* chore(rollup): migrate commonjs to esmodule * chore(package.json): change commonjs to esmodule style in 'patch-d-ts' script
* chore(examples): remove 'pnpm-lock.yaml' * chore(.gitignore): add lock file patterns related with 'examples' * Update package.json --------- Co-authored-by: Daishi Kato <[email protected]>
* chore(package.json): use double quotes in scripts * chore(package.json): add curly braces in 'patch-d-ts' script
* docs(*): rename file to upppercase * chore(package.json): rename 'readme.md' to uppercase in 'copy' script * docs(.github): rename PR template to lowercase
* chore(docs): update tutorial tic tac toe * chore(docs): update tutorial tic tac toe * chore(docs): minor changes
* fixed error in persist example and added typescript * chore: formatted code --------- Co-authored-by: sidahmedabdelillah <[email protected]>
* docs: update CONTRIBUTING.md * docs(CONTRIBUTING.md): update documentation section including 'pnmdrs/docs' * docs(CONTRIBUTING.md): add period * docs(CONTRIBUTING.md): sepatate 'installing' and 'starting dev server' * docs(CONTRIBUTING.md): unify the tone of the command part
* Update nextjs.md add mandatory argument for useRef * Update testing.md added initialValue for useRef
* chore(package.json): update packageManager pnpm 8 to 9 * chore(pnpm-lock.yaml): reflect pnpm version 9
* chore(package.json): update fix script to run sequentially * chore(package.json): reorder the fix-related scripts
* chore: enhance prettier config * chore: fix prettier issues * Update package.json --------- Co-authored-by: Daishi Kato <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )