-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
docs: persist and connect state with url #1804
Conversation
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 6df4f02:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice use case, good job :)
Please see my comments in code
searchGameDifficulty: { | ||
beginner: false, | ||
intermediate: true, | ||
expert: false, | ||
}, | ||
setSearchGameDifficulty: (difficulty, selection) => | ||
set((state) => ({ | ||
searchGameDifficulty: { | ||
...state.searchGameDifficulty, | ||
[difficulty]: selection, | ||
}, | ||
})), | ||
|
||
searchRatings: { | ||
1: false, | ||
2: false, | ||
3: false, | ||
4: true, | ||
5: true, | ||
}, | ||
setSearchRatings: (rating, selection) => | ||
set((state) => ({ | ||
searchRatings: { ...state.searchRatings, [rating]: selection }, | ||
})), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you prepare a simpler example? It took me a fair amount of time to understand the domain of the problem. Something obvious would be more suitable, because the example needs to depict the state in URL, not the game search problem.
Co-authored-by: Blazej Sewera <code@sewera.dev>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [zustand](https://github.com/pmndrs/zustand) | [`4.3.6` -> `4.3.9`](https://renovatebot.com/diffs/npm/zustand/4.3.6/4.3.9) | [![age](https://badges.renovateapi.com/packages/npm/zustand/4.3.9/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/zustand/4.3.9/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/zustand/4.3.9/compatibility-slim/4.3.6)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/zustand/4.3.9/confidence-slim/4.3.6)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pmndrs/zustand (zustand)</summary> ### [`v4.3.9`](https://github.com/pmndrs/zustand/releases/tag/v4.3.9) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.3.8...v4.3.9) This includes a small improvement for production build mostly for Vite users. Docs have been improved too! #### What's Changed - fix(build): mode env for "import" condition" by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1845](https://github.com/pmndrs/zustand/pull/1845) #### New Contributors - [@​Debbl](https://github.com/Debbl) made their first contribution in [https://github.com/pmndrs/zustand/pull/1792](https://github.com/pmndrs/zustand/pull/1792) - [@​Nipodemos](https://github.com/Nipodemos) made their first contribution in [https://github.com/pmndrs/zustand/pull/1782](https://github.com/pmndrs/zustand/pull/1782) - [@​vadimshvetsov](https://github.com/vadimshvetsov) made their first contribution in [https://github.com/pmndrs/zustand/pull/1800](https://github.com/pmndrs/zustand/pull/1800) - [@​bobylito](https://github.com/bobylito) made their first contribution in [https://github.com/pmndrs/zustand/pull/1810](https://github.com/pmndrs/zustand/pull/1810) - [@​celineling](https://github.com/celineling) made their first contribution in [https://github.com/pmndrs/zustand/pull/1804](https://github.com/pmndrs/zustand/pull/1804) - [@​valerii15298](https://github.com/valerii15298) made their first contribution in [https://github.com/pmndrs/zustand/pull/1819](https://github.com/pmndrs/zustand/pull/1819) - [@​Hecmatyar](https://github.com/Hecmatyar) made their first contribution in [https://github.com/pmndrs/zustand/pull/1816](https://github.com/pmndrs/zustand/pull/1816) - [@​203x](https://github.com/203x) made their first contribution in [https://github.com/pmndrs/zustand/pull/1826](https://github.com/pmndrs/zustand/pull/1826) - [@​Ciensprog](https://github.com/Ciensprog) made their first contribution in [https://github.com/pmndrs/zustand/pull/1844](https://github.com/pmndrs/zustand/pull/1844) - [@​Romainlg29](https://github.com/Romainlg29) made their first contribution in [https://github.com/pmndrs/zustand/pull/1843](https://github.com/pmndrs/zustand/pull/1843) - [@​dcorb](https://github.com/dcorb) made their first contribution in [https://github.com/pmndrs/zustand/pull/1847](https://github.com/pmndrs/zustand/pull/1847) - [@​ivoilic](https://github.com/ivoilic) made their first contribution in [https://github.com/pmndrs/zustand/pull/1856](https://github.com/pmndrs/zustand/pull/1856) - [@​Kiku-CN](https://github.com/Kiku-CN) made their first contribution in [https://github.com/pmndrs/zustand/pull/1889](https://github.com/pmndrs/zustand/pull/1889) - [@​LartyHD](https://github.com/LartyHD) made their first contribution in [https://github.com/pmndrs/zustand/pull/1893](https://github.com/pmndrs/zustand/pull/1893) - [@​ChoiHyunjin](https://github.com/ChoiHyunjin) made their first contribution in [https://github.com/pmndrs/zustand/pull/1903](https://github.com/pmndrs/zustand/pull/1903) - [@​thesuryavivek](https://github.com/thesuryavivek) made their first contribution in [https://github.com/pmndrs/zustand/pull/1906](https://github.com/pmndrs/zustand/pull/1906) - [@​thedipankarroy](https://github.com/thedipankarroy) made their first contribution in [https://github.com/pmndrs/zustand/pull/1913](https://github.com/pmndrs/zustand/pull/1913) **Full Changelog**: pmndrs/zustand@v4.3.8...v4.3.9 ### [`v4.3.8`](https://github.com/pmndrs/zustand/releases/tag/v4.3.8) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.3.7...v4.3.8) For persist middleware, a new option for createJSONStorage in introduced to support more cases. Note that createJSONStorage isn't a required function (and it's not very recommended as it's not type safe), and one should create a custom storage for more use cases. #### What's Changed - chore: add extension in imports by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1678](https://github.com/pmndrs/zustand/pull/1678) - feat(middleware/persist): improve createJSONStorage for Maps by [@​lauhon](https://github.com/lauhon) in [https://github.com/pmndrs/zustand/pull/1763](https://github.com/pmndrs/zustand/pull/1763) - chore(tests): migrate to vitest by [@​arjunvegda](https://github.com/arjunvegda) in [https://github.com/pmndrs/zustand/pull/1753](https://github.com/pmndrs/zustand/pull/1753) #### New Contributors - [@​JacobWeisenburger](https://github.com/JacobWeisenburger) made their first contribution in [https://github.com/pmndrs/zustand/pull/1737](https://github.com/pmndrs/zustand/pull/1737) - [@​spacemeowx2](https://github.com/spacemeowx2) made their first contribution in [https://github.com/pmndrs/zustand/pull/1742](https://github.com/pmndrs/zustand/pull/1742) - [@​arjunvegda](https://github.com/arjunvegda) made their first contribution in [https://github.com/pmndrs/zustand/pull/1754](https://github.com/pmndrs/zustand/pull/1754) - [@​zc627788](https://github.com/zc627788) made their first contribution in [https://github.com/pmndrs/zustand/pull/1752](https://github.com/pmndrs/zustand/pull/1752) - [@​arvinxx](https://github.com/arvinxx) made their first contribution in [https://github.com/pmndrs/zustand/pull/1758](https://github.com/pmndrs/zustand/pull/1758) - [@​SilentFlute](https://github.com/SilentFlute) made their first contribution in [https://github.com/pmndrs/zustand/pull/1762](https://github.com/pmndrs/zustand/pull/1762) - [@​dannobytes](https://github.com/dannobytes) made their first contribution in [https://github.com/pmndrs/zustand/pull/1779](https://github.com/pmndrs/zustand/pull/1779) - [@​BLooDBRothER](https://github.com/BLooDBRothER) made their first contribution in [https://github.com/pmndrs/zustand/pull/1777](https://github.com/pmndrs/zustand/pull/1777) - [@​lauhon](https://github.com/lauhon) made their first contribution in [https://github.com/pmndrs/zustand/pull/1763](https://github.com/pmndrs/zustand/pull/1763) **Full Changelog**: pmndrs/zustand@v4.3.7...v4.3.8 ### [`v4.3.7`](https://github.com/pmndrs/zustand/releases/tag/v4.3.7) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.3.6...v4.3.7) This includes a couple of improvements in `persist` middleware. #### What's Changed - feat(middleware/persist): add skip hydration option [#​405](https://github.com/pmndrs/zustand/issues/405) by [@​gmanninglive](https://github.com/gmanninglive) in [https://github.com/pmndrs/zustand/pull/1647](https://github.com/pmndrs/zustand/pull/1647) - fix(middleware/persist): ensure `persist` does not drop updates in `onRehydrateStorage` when using a synchronous storage API by [@​coffeebeats](https://github.com/coffeebeats) in [https://github.com/pmndrs/zustand/pull/1689](https://github.com/pmndrs/zustand/pull/1689) - fix(middleware/persist): ensure argument for `onRehydrateStorage` and `onHydrate` is defined on first hydration by [@​coffeebeats](https://github.com/coffeebeats) in [https://github.com/pmndrs/zustand/pull/1692](https://github.com/pmndrs/zustand/pull/1692) #### New Contributors - [@​hi-otto](https://github.com/hi-otto) made their first contribution in [https://github.com/pmndrs/zustand/pull/1687](https://github.com/pmndrs/zustand/pull/1687) - [@​pastelmind](https://github.com/pastelmind) made their first contribution in [https://github.com/pmndrs/zustand/pull/1707](https://github.com/pmndrs/zustand/pull/1707) - [@​gmanninglive](https://github.com/gmanninglive) made their first contribution in [https://github.com/pmndrs/zustand/pull/1647](https://github.com/pmndrs/zustand/pull/1647) - [@​coffeebeats](https://github.com/coffeebeats) made their first contribution in [https://github.com/pmndrs/zustand/pull/1689](https://github.com/pmndrs/zustand/pull/1689) **Full Changelog**: pmndrs/zustand@v4.3.6...v4.3.7 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/specfy/specfy). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNTkuNyIsInVwZGF0ZWRJblZlciI6IjM1LjE1OS43IiwidGFyZ2V0QnJhbmNoIjoiY2hvcmUvcmVub3ZhdGVCYXNlQnJhbmNoIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@mheob/eslint-config](https://github.com/mheob/config/tree/main/packages/eslint-config) ([source](https://github.com/mheob/config)) | [`^5.0.1` -> `^5.1.0`](https://renovatebot.com/diffs/npm/@mheob%2feslint-config/5.0.1/5.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mheob%2feslint-config/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mheob%2feslint-config/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mheob%2feslint-config/5.0.1/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mheob%2feslint-config/5.0.1/5.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@mheob/prettier-config](https://github.com/mheob/config/tree/main/packages/prettier-config) ([source](https://github.com/mheob/config)) | [`^3.0.1` -> `^3.1.0`](https://renovatebot.com/diffs/npm/@mheob%2fprettier-config/3.0.1/3.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@mheob%2fprettier-config/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@mheob%2fprettier-config/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@mheob%2fprettier-config/3.0.1/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@mheob%2fprettier-config/3.0.1/3.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`^18.2.14` -> `^18.2.15`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.14/18.2.15) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.14/18.2.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.14/18.2.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | [`^18.2.6` -> `^18.2.7`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.2.6/18.2.7) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/18.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/18.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/18.2.6/18.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/18.2.6/18.2.7?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/main/packages/plugin-react#readme) ([source](https://github.com/vitejs/vite-plugin-react)) | [`^4.0.1` -> `^4.0.3`](https://renovatebot.com/diffs/npm/@vitejs%2fplugin-react/4.0.1/4.0.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vitejs%2fplugin-react/4.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vitejs%2fplugin-react/4.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vitejs%2fplugin-react/4.0.1/4.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vitejs%2fplugin-react/4.0.1/4.0.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`^8.44.0` -> `^8.45.0`](https://renovatebot.com/diffs/npm/eslint/8.44.0/8.45.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.44.0/8.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.44.0/8.45.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://github.com/vitejs/vite/tree/main/#readme) ([source](https://github.com/vitejs/vite)) | [`^4.3.9` -> `^4.4.4`](https://renovatebot.com/diffs/npm/vite/4.3.9/4.4.4) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/4.3.9/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/4.3.9/4.4.4?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [zustand](https://github.com/pmndrs/zustand) | [`^4.3.8` -> `^4.3.9`](https://renovatebot.com/diffs/npm/zustand/4.3.8/4.3.9) | [![age](https://developer.mend.io/api/mc/badges/age/npm/zustand/4.3.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zustand/4.3.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zustand/4.3.8/4.3.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zustand/4.3.8/4.3.9?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>mheob/config (@​mheob/eslint-config)</summary> ### [`v5.1.0`](https://github.com/mheob/config/releases/tag/%40mheob/eslint-config%405.1.0) [Compare Source](https://github.com/mheob/config/compare/@mheob/eslint-config@5.0.1...@mheob/eslint-config@5.1.0) ##### Minor Changes - [#​131](https://github.com/mheob/config/pull/131) ([@​mheob](https://github.com/mheob)): add `cts` and `mts` file extensions to the eslint config ##### Patch Changes - [#​133](https://github.com/mheob/config/pull/133) ([@​mheob](https://github.com/mheob)): update dependencies - [#​129](https://github.com/mheob/config/pull/129) ([@​renovate](https://github.com/apps/renovate)): chore(deps): update all non-major dependencies </details> <details> <summary>vitejs/vite-plugin-react (@​vitejs/plugin-react)</summary> ### [`v4.0.3`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#403-2023-07-10) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/v4.0.2...v4.0.3) - Revert [#​108](https://github.com/vitejs/vite-plugin-react/pull/108): Remove throw when refresh runtime is loaded twice to enable usage in micro frontend apps. This was added to help fix setup usage, and this is not worth an annoying warning for others or a config parameter. ### [`v4.0.2`](https://github.com/vitejs/vite-plugin-react/blob/HEAD/packages/plugin-react/CHANGELOG.md#402-2023-07-06) [Compare Source](https://github.com/vitejs/vite-plugin-react/compare/deb40a45f8c296ca2ae4e27c7709bec5ae5b9a62...v4.0.2) - Fix fast-refresh for files that are transformed into jsx ([#​188](https://github.com/vitejs/vite-plugin-react/pull/188)) </details> <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.45.0`](https://github.com/eslint/eslint/releases/tag/v8.45.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.44.0...v8.45.0) ##### Features - [`cdd063c`](https://github.com/eslint/eslint/commit/cdd063c388bbfe1781d7a864a832f03a2c1cc277) feat: Expose LegacyESLint in unsupported API ([#​17341](https://github.com/eslint/eslint/issues/17341)) (Nicholas C. Zakas) - [`d34abe5`](https://github.com/eslint/eslint/commit/d34abe59eb23932dcbc79757d7932d08ee8b20e5) feat: fix indent rule for else-if ([#​17318](https://github.com/eslint/eslint/issues/17318)) (Milos Djermanovic) ##### Bug Fixes - [`b79b6fb`](https://github.com/eslint/eslint/commit/b79b6fb64473969b426d086b484d2e29594a5e9a) fix: Fix suggestion message in `no-useless-escape` ([#​17339](https://github.com/eslint/eslint/issues/17339)) (Francesco Trotta) - [`c667055`](https://github.com/eslint/eslint/commit/c667055fb9da8ebac3a99f6e5a8b5565cc86af8e) fix: provide unique `fix` and `fix.range` objects in lint messages ([#​17332](https://github.com/eslint/eslint/issues/17332)) (Milos Djermanovic) ##### Documentation - [`89f3225`](https://github.com/eslint/eslint/commit/89f3225108c66425e4132f76db6c1ab13aac98d7) docs: add playground links to correct and incorrect code blocks ([#​17306](https://github.com/eslint/eslint/issues/17306)) (Josh Goldberg ✨) - [`f8892b5`](https://github.com/eslint/eslint/commit/f8892b52920b8967f9e7bec23c75b74e03977d6b) docs: Expand rule option schema docs ([#​17198](https://github.com/eslint/eslint/issues/17198)) (Matt Wilkinson) - [`8bcbf11`](https://github.com/eslint/eslint/commit/8bcbf11b6050418262ffa8e0ca37f365ae92e7ce) docs: Config Migration Guide ([#​17230](https://github.com/eslint/eslint/issues/17230)) (Ben Perlmutter) - [`bb30908`](https://github.com/eslint/eslint/commit/bb3090897166dbfd2931a43a70e2a5c1f3fa0a07) docs: Update README (GitHub Actions Bot) - [`84d243b`](https://github.com/eslint/eslint/commit/84d243b245b01b667f0752b592e8bda02a9aa2b1) docs: Update README (GitHub Actions Bot) - [`b762632`](https://github.com/eslint/eslint/commit/b762632298f20c4f81e7d01ab850c3f5e3874637) docs: Update README (GitHub Actions Bot) - [`138c096`](https://github.com/eslint/eslint/commit/138c096bc9468b553dbafc0e573c6522a17a7922) docs: add more prefer-destructuring examples with array destructuring ([#​17330](https://github.com/eslint/eslint/issues/17330)) (Milos Djermanovic) - [`1fc50a8`](https://github.com/eslint/eslint/commit/1fc50a89753346f4f4c786ffd20ac4cf185bb036) docs: `max-len` rule `code` and `tabWidth` as positional arguments ([#​17331](https://github.com/eslint/eslint/issues/17331)) (Jesús Leganés-Combarro) ##### Chores - [`68f63d7`](https://github.com/eslint/eslint/commit/68f63d76ce785fab4f42b76f1599026eea379bf7) chore: package.json update for [@​eslint/js](https://github.com/eslint/js) release (ESLint Jenkins) - [`5ca9b4d`](https://github.com/eslint/eslint/commit/5ca9b4d29f747e9cf5c9055e85c93b3b605d57fc) chore: update eslint-config-eslint exports ([#​17336](https://github.com/eslint/eslint/issues/17336)) (Milos Djermanovic) - [`7bf2e86`](https://github.com/eslint/eslint/commit/7bf2e86022c9e95db4ca1472fddfa2ea4edd1870) chore: remove unused dependencies ([#​17352](https://github.com/eslint/eslint/issues/17352)) (Percy Ma) - [`c6f8cd0`](https://github.com/eslint/eslint/commit/c6f8cd0d62e4a3c314c6860ff367490bbd05325a) chore: Remove `defaultIgnores` from FlatESLint private members ([#​17349](https://github.com/eslint/eslint/issues/17349)) (Francesco Trotta) - [`0052374`](https://github.com/eslint/eslint/commit/0052374035672efe9129343fc00ee51a4c288ff3) chore: move jsdoc settings to eslint-config-eslint ([#​17338](https://github.com/eslint/eslint/issues/17338)) (唯然) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v4.4.4`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small444-2023-07-14-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.4.3...v4.4.4) - chore: warning about ssr cjs format removal ([#​13827](https://github.com/vitejs/vite/issues/13827)) ([4646e9f](https://github.com/vitejs/vite/commit/4646e9f)), closes [#​13827](https://github.com/vitejs/vite/issues/13827) - fix(esbuild): enable experimentalDecorators by default ([#​13805](https://github.com/vitejs/vite/issues/13805)) ([e8880f0](https://github.com/vitejs/vite/commit/e8880f0)), closes [#​13805](https://github.com/vitejs/vite/issues/13805) - fix(scan): skip tsconfigRaw fallback if tsconfig is set ([#​13823](https://github.com/vitejs/vite/issues/13823)) ([b6155a1](https://github.com/vitejs/vite/commit/b6155a1)), closes [#​13823](https://github.com/vitejs/vite/issues/13823) - feat(client): close `vite-error-overlay` with Escape key ([#​13795](https://github.com/vitejs/vite/issues/13795)) ([85bdcda](https://github.com/vitejs/vite/commit/85bdcda)), closes [#​13795](https://github.com/vitejs/vite/issues/13795) ### [`v4.4.3`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small443-2023-07-11-small) [Compare Source](https://github.com/vitejs/vite/compare/v4.4.2...v4.4.3) - fix: avoid early error when server is closed in ssr ([#​13787](https://github.com/vitejs/vite/issues/13787)) ([89d01eb](https://github.com/vitejs/vite/commit/89d01eb)), closes [#​13787](https://github.com/vitejs/vite/issues/13787) - fix(deps): update all non-major dependencies ([#​13758](https://github.com/vitejs/vite/issues/13758)) ([8ead116](https://github.com/vitejs/vite/commit/8ead116)), closes [#​13758](https://github.com/vitejs/vite/issues/13758) - fix(server): remove restart guard on restart ([#​13789](https://github.com/vitejs/vite/issues/13789)) ([2a38ef7](https://github.com/vitejs/vite/commit/2a38ef7)), closes [#​13789](https://github.com/vitejs/vite/issues/13789) ### [`v4.4.2`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small442-2023-07-07-small) [Compare Source](https://github.com/vitejs/vite/compare/487bdcde3399463ac68eb5ab5bc19e5096b4623b...v4.4.2) - fix(css): use single postcss instance ([#​13738](https://github.com/vitejs/vite/issues/13738)) ([c02fac4](https://github.com/vitejs/vite/commit/c02fac4)), closes [#​13738](https://github.com/vitejs/vite/issues/13738) ### [`v4.4.1`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small441-2023-07-06-small) [Compare Source](https://github.com/vitejs/vite/compare/3b47e34af89b8220c0aeb119f813e8315e98668e...487bdcde3399463ac68eb5ab5bc19e5096b4623b) - fix: revert [#​13073](https://github.com/vitejs/vite/issues/13073), use consistent virtual module ID in module graph ([#​13734](https://github.com/vitejs/vite/issues/13734)) ([f589ac0](https://github.com/vitejs/vite/commit/f589ac0)), closes [#​13073](https://github.com/vitejs/vite/issues/13073) [#​13734](https://github.com/vitejs/vite/issues/13734) - fix: revert import config module as data ([#​13731](https://github.com/vitejs/vite/issues/13731)) ([b0bfa01](https://github.com/vitejs/vite/commit/b0bfa01)), closes [#​13731](https://github.com/vitejs/vite/issues/13731) - chore: changelog notes and clean for 4.4 ([#​13728](https://github.com/vitejs/vite/issues/13728)) ([3f4e36e](https://github.com/vitejs/vite/commit/3f4e36e)), closes [#​13728](https://github.com/vitejs/vite/issues/13728) ### [`v4.4.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#440-2023-07-06) [Compare Source](https://github.com/vitejs/vite/compare/v4.3.9...3b47e34af89b8220c0aeb119f813e8315e98668e) ##### Experimental support for Lightning CSS Starting from Vite 4.4, there is experimental support for [Lightning CSS](https://lightningcss.dev/). You can opt into it by adding [`css.transformer: 'lightningcss'`](https://main.vitejs.dev/config/shared-options.html#css-transformer) to your config file and install the optional [`lightningcss`](https://www.npmjs.com/package/lightningcss) dev dependency. If enabled, CSS files will be processed by Lightning CSS instead of PostCSS. Lightning CSS can also be used as the CSS minifier with [`build.cssMinify: 'lightningcss'`](https://main.vitejs.dev/config/build-options.html#build-cssminify). See beta docs at the [Lighting CSS guide](https://main.vitejs.dev/guide/features.html#lightning-css). ##### esbuild 0.18 update [esbuild 0.18](https://github.com/evanw/esbuild/blob/main/CHANGELOG.md#0180) contains backwards-incompatible changes to esbuild's handling of `tsconfig.json` files. We think they shouldn't affect Vite users, you can review [#​13525](https://github.com/vitejs/vite/issues/13525) for more information. ##### Templates for Solid and Qwik in create-vite New starter templates have been added to [create-vite](https://vitejs.dev/guide/#scaffolding-your-first-vite-project) for [Solid](https://www.solidjs.com/) and [Qwik](https://qwik.builder.io/). Try them online at [vite.new/solid-ts](https://vite.new/solid-ts) and [vite.new/qwik-ts](https://vite.new/qwik-ts). ##### Korean Translation Vite's docs are now translated to Korean, available at [ko.vitejs.dev](https://ko.vitejs.dev). ##### Features - feat: preview mode add keyboard shortcuts ([#​12968](https://github.com/vitejs/vite/issues/12968)) ([126e93e](https://github.com/vitejs/vite/commit/126e93e)), closes [#​12968](https://github.com/vitejs/vite/issues/12968) - feat: asset type add apng ([#​13294](https://github.com/vitejs/vite/issues/13294)) ([a11b6f6](https://github.com/vitejs/vite/commit/a11b6f6)), closes [#​13294](https://github.com/vitejs/vite/issues/13294) - feat: emit event to handle chunk load errors ([#​12084](https://github.com/vitejs/vite/issues/12084)) ([2eca54e](https://github.com/vitejs/vite/commit/2eca54e)), closes [#​12084](https://github.com/vitejs/vite/issues/12084) - feat: import public non-asset URL ([#​13422](https://github.com/vitejs/vite/issues/13422)) ([3a98558](https://github.com/vitejs/vite/commit/3a98558)), closes [#​13422](https://github.com/vitejs/vite/issues/13422) - feat: support files for `fs.allow` ([#​12863](https://github.com/vitejs/vite/issues/12863)) ([4a06e66](https://github.com/vitejs/vite/commit/4a06e66)), closes [#​12863](https://github.com/vitejs/vite/issues/12863) - feat(build): warn dynamic import module with a static import alongside ([#​12850](https://github.com/vitejs/vite/issues/12850)) ([127c334](https://github.com/vitejs/vite/commit/127c334)), closes [#​12850](https://github.com/vitejs/vite/issues/12850) - feat(client): add debounce on page reload ([#​13545](https://github.com/vitejs/vite/issues/13545)) ([d080b51](https://github.com/vitejs/vite/commit/d080b51)), closes [#​13545](https://github.com/vitejs/vite/issues/13545) - feat(client): add WebSocket connections events ([#​13334](https://github.com/vitejs/vite/issues/13334)) ([eb75103](https://github.com/vitejs/vite/commit/eb75103)), closes [#​13334](https://github.com/vitejs/vite/issues/13334) - feat(config): friendly ESM file require error ([#​13283](https://github.com/vitejs/vite/issues/13283)) ([b9a6ba0](https://github.com/vitejs/vite/commit/b9a6ba0)), closes [#​13283](https://github.com/vitejs/vite/issues/13283) - feat(css): add support for Lightning CSS ([#​12807](https://github.com/vitejs/vite/issues/12807)) ([c6c5d49](https://github.com/vitejs/vite/commit/c6c5d49)), closes [#​12807](https://github.com/vitejs/vite/issues/12807) - feat(css): support at import preprocessed styles ([#​8400](https://github.com/vitejs/vite/issues/8400)) ([2bd6077](https://github.com/vitejs/vite/commit/2bd6077)), closes [#​8400](https://github.com/vitejs/vite/issues/8400) - feat(html): support image set in inline style ([#​13473](https://github.com/vitejs/vite/issues/13473)) ([2c0faba](https://github.com/vitejs/vite/commit/2c0faba)), closes [#​13473](https://github.com/vitejs/vite/issues/13473) - feat(importMetaGlob): support sub imports pattern ([#​12467](https://github.com/vitejs/vite/issues/12467)) ([e355c9c](https://github.com/vitejs/vite/commit/e355c9c)), closes [#​12467](https://github.com/vitejs/vite/issues/12467) - feat(optimizer): support glob includes ([#​12414](https://github.com/vitejs/vite/issues/12414)) ([7792515](https://github.com/vitejs/vite/commit/7792515)), closes [#​12414](https://github.com/vitejs/vite/issues/12414) - feat!: update esbuild to 0.18.2 ([#​13525](https://github.com/vitejs/vite/issues/13525)) ([ab967c0](https://github.com/vitejs/vite/commit/ab967c0)), closes [#​13525](https://github.com/vitejs/vite/issues/13525) ##### Bug Fixes - fix: check document before detect script rel ([#​13559](https://github.com/vitejs/vite/issues/13559)) ([be4b0c0](https://github.com/vitejs/vite/commit/be4b0c0)), closes [#​13559](https://github.com/vitejs/vite/issues/13559) - fix(define): stringify object parse error in build mode ([#​13600](https://github.com/vitejs/vite/issues/13600)) ([71516db](https://github.com/vitejs/vite/commit/71516db)), closes [#​13600](https://github.com/vitejs/vite/issues/13600) - fix(deps): update all non-major dependencies ([#​13701](https://github.com/vitejs/vite/issues/13701)) ([02c6bc3](https://github.com/vitejs/vite/commit/02c6bc3)), closes [#​13701](https://github.com/vitejs/vite/issues/13701) - fix(esbuild): use `useDefineForClassFields: false` when no `compilerOptions.target` is declared ([#​13](https://github.com/vitejs/vite/issues/13) ([7ef2472](https://github.com/vitejs/vite/commit/7ef2472)), closes [#​13708](https://github.com/vitejs/vite/issues/13708) - fix(pluginContainer): drop previous sourcesContent ([#​13722](https://github.com/vitejs/vite/issues/13722)) ([9310b3a](https://github.com/vitejs/vite/commit/9310b3a)), closes [#​13722](https://github.com/vitejs/vite/issues/13722) - fix: lightningCSS should load external URL in CSS file ([#​13692](https://github.com/vitejs/vite/issues/13692)) ([8517645](https://github.com/vitejs/vite/commit/8517645)), closes [#​13692](https://github.com/vitejs/vite/issues/13692) - fix: shortcut open browser when set host ([#​13677](https://github.com/vitejs/vite/issues/13677)) ([6f1c55e](https://github.com/vitejs/vite/commit/6f1c55e)), closes [#​13677](https://github.com/vitejs/vite/issues/13677) - fix(cli): convert the sourcemap option to boolean (fix [#​13638](https://github.com/vitejs/vite/issues/13638)) ([#​13663](https://github.com/vitejs/vite/issues/13663)) ([d444bfe](https://github.com/vitejs/vite/commit/d444bfe)), closes [#​13638](https://github.com/vitejs/vite/issues/13638) [#​13663](https://github.com/vitejs/vite/issues/13663) - fix(css): use esbuild legalComments config when minifying CSS ([#​13661](https://github.com/vitejs/vite/issues/13661)) ([2d9008e](https://github.com/vitejs/vite/commit/2d9008e)), closes [#​13661](https://github.com/vitejs/vite/issues/13661) - fix(sourcemap): preserve original sourcesContent ([#​13662](https://github.com/vitejs/vite/issues/13662)) ([f6362b6](https://github.com/vitejs/vite/commit/f6362b6)), closes [#​13662](https://github.com/vitejs/vite/issues/13662) - fix(ssr): transform superclass identifier ([#​13635](https://github.com/vitejs/vite/issues/13635)) ([c5b2c8f](https://github.com/vitejs/vite/commit/c5b2c8f)), closes [#​13635](https://github.com/vitejs/vite/issues/13635) - fix: show error position ([#​13623](https://github.com/vitejs/vite/issues/13623)) ([90271a6](https://github.com/vitejs/vite/commit/90271a6)), closes [#​13623](https://github.com/vitejs/vite/issues/13623) - fix(hmr): only invalidate `lastHMRTimestamp` of importers if the invalidated module is not a HMR bou ([1143e0b](https://github.com/vitejs/vite/commit/1143e0b)), closes [#​13024](https://github.com/vitejs/vite/issues/13024) - fix(indexHtml): decode html URI ([#​13581](https://github.com/vitejs/vite/issues/13581)) ([f8868af](https://github.com/vitejs/vite/commit/f8868af)), closes [#​13581](https://github.com/vitejs/vite/issues/13581) - fix: avoid binding ClassExpression ([#​13572](https://github.com/vitejs/vite/issues/13572)) ([1a0c806](https://github.com/vitejs/vite/commit/1a0c806)), closes [#​13572](https://github.com/vitejs/vite/issues/13572) - fix: the shortcut fails to open browser when set the host ([#​13579](https://github.com/vitejs/vite/issues/13579)) ([e0a48c5](https://github.com/vitejs/vite/commit/e0a48c5)), closes [#​13579](https://github.com/vitejs/vite/issues/13579) - fix(proxy): forward SSE close event ([#​13578](https://github.com/vitejs/vite/issues/13578)) ([4afbccb](https://github.com/vitejs/vite/commit/4afbccb)), closes [#​13578](https://github.com/vitejs/vite/issues/13578) - fix: allow using vite as a proxy for another vite server ([#​13218](https://github.com/vitejs/vite/issues/13218)) ([711dd80](https://github.com/vitejs/vite/commit/711dd80)), closes [#​13218](https://github.com/vitejs/vite/issues/13218) - fix: await requests to before server restart ([#​13262](https://github.com/vitejs/vite/issues/13262)) ([0464398](https://github.com/vitejs/vite/commit/0464398)), closes [#​13262](https://github.com/vitejs/vite/issues/13262) - fix: esm detection with `export const { A, B }` pattern ([#​13483](https://github.com/vitejs/vite/issues/13483)) ([ea1bcc9](https://github.com/vitejs/vite/commit/ea1bcc9)), closes [#​13483](https://github.com/vitejs/vite/issues/13483) - fix: keep track of ssr version of imported modules separately ([#​11973](https://github.com/vitejs/vite/issues/11973)) ([8fe6952](https://github.com/vitejs/vite/commit/8fe6952)), closes [#​11973](https://github.com/vitejs/vite/issues/11973) - fix: make optimize error available to meta-framework ([#​13495](https://github.com/vitejs/vite/issues/13495)) ([b70e783](https://github.com/vitejs/vite/commit/b70e783)), closes [#​13495](https://github.com/vitejs/vite/issues/13495) - fix: only show the listened IP when host is specified ([#​13412](https://github.com/vitejs/vite/issues/13412)) ([20b0cae](https://github.com/vitejs/vite/commit/20b0cae)), closes [#​13412](https://github.com/vitejs/vite/issues/13412) - fix: race condition creation module in graph in transformRequest ([#​13085](https://github.com/vitejs/vite/issues/13085)) ([43cbbcf](https://github.com/vitejs/vite/commit/43cbbcf)), closes [#​13085](https://github.com/vitejs/vite/issues/13085) - fix: remove deprecated config.server.base ([#​13482](https://github.com/vitejs/vite/issues/13482)) ([dc597bd](https://github.com/vitejs/vite/commit/dc597bd)), closes [#​13482](https://github.com/vitejs/vite/issues/13482) - fix: remove extra path shorten when resolving from a dir ([#​13381](https://github.com/vitejs/vite/issues/13381)) ([5503198](https://github.com/vitejs/vite/commit/5503198)), closes [#​13381](https://github.com/vitejs/vite/issues/13381) - fix: show network URLs when `--host 0.0.0.0` ([#​13438](https://github.com/vitejs/vite/issues/13438)) ([00ee8c1](https://github.com/vitejs/vite/commit/00ee8c1)), closes [#​13438](https://github.com/vitejs/vite/issues/13438) - fix: timestamp config dynamicImport ([#​13502](https://github.com/vitejs/vite/issues/13502)) ([6a87c65](https://github.com/vitejs/vite/commit/6a87c65)), closes [#​13502](https://github.com/vitejs/vite/issues/13502) - fix: unexpected config temporary file ([#​13269](https://github.com/vitejs/vite/issues/13269)) ([ff3ce31](https://github.com/vitejs/vite/commit/ff3ce31)), closes [#​13269](https://github.com/vitejs/vite/issues/13269) - fix: use consistent virtual module ID in module graph ([#​13073](https://github.com/vitejs/vite/issues/13073)) ([aa1776f](https://github.com/vitejs/vite/commit/aa1776f)), closes [#​13073](https://github.com/vitejs/vite/issues/13073) - fix(build): make output warning message clearer ([#​12924](https://github.com/vitejs/vite/issues/12924)) ([54ab3c8](https://github.com/vitejs/vite/commit/54ab3c8)), closes [#​12924](https://github.com/vitejs/vite/issues/12924) - fix(debug): import performance from perf_hooks ([#​13464](https://github.com/vitejs/vite/issues/13464)) ([d458ccd](https://github.com/vitejs/vite/commit/d458ccd)), closes [#​13464](https://github.com/vitejs/vite/issues/13464) - fix(deps): update all non-major dependencies ([#​13059](https://github.com/vitejs/vite/issues/13059)) ([123ef4c](https://github.com/vitejs/vite/commit/123ef4c)), closes [#​13059](https://github.com/vitejs/vite/issues/13059) - fix(deps): update all non-major dependencies ([#​13488](https://github.com/vitejs/vite/issues/13488)) ([bd09248](https://github.com/vitejs/vite/commit/bd09248)), closes [#​13488](https://github.com/vitejs/vite/issues/13488) - fix(deps): update sirv to 2.0.3 ([#​13057](https://github.com/vitejs/vite/issues/13057)) ([d814d6c](https://github.com/vitejs/vite/commit/d814d6c)), closes [#​13057](https://github.com/vitejs/vite/issues/13057) - fix(mergeConfig): don't accept callback config ([#​13135](https://github.com/vitejs/vite/issues/13135)) ([998512b](https://github.com/vitejs/vite/commit/998512b)), closes [#​13135](https://github.com/vitejs/vite/issues/13135) - fix(optimizer): include exports for css modules ([#​13519](https://github.com/vitejs/vite/issues/13519)) ([1fd9919](https://github.com/vitejs/vite/commit/1fd9919)), closes [#​13519](https://github.com/vitejs/vite/issues/13519) - fix(resolve): always use `module` condition ([#​13370](https://github.com/vitejs/vite/issues/13370)) ([367920b](https://github.com/vitejs/vite/commit/367920b)), closes [#​13370](https://github.com/vitejs/vite/issues/13370) - fix(ssr): fix crash when a pnpm/Yarn workspace depends on a CJS package ([#​9763](https://github.com/vitejs/vite/issues/9763)) ([9e1086b](https://github.com/vitejs/vite/commit/9e1086b)), closes [#​9763](https://github.com/vitejs/vite/issues/9763) ##### Previous Changelogs ##### [4.4.0-beta.4](https://github.com/vitejs/vite/compare/v4.4.0-beta.3....v4.4.0-beta.4) (2023-07-03) See [4.4.0-beta.4 changelog](https://github.com/vitejs/vite/blob/v4.4.0-beta.4/packages/vite/CHANGELOG.md) ##### [4.4.0-beta.3](https://github.com/vitejs/vite/compare/v4.4.0-beta.2....v4.4.0-beta.3) (2023-06-25) See [4.4.0-beta.3 changelog](https://github.com/vitejs/vite/blob/v4.4.0-beta.3/packages/vite/CHANGELOG.md) ##### [4.4.0-beta.2](https://github.com/vitejs/vite/compare/v4.4.0-beta.1....v4.4.0-beta.2) (2023-06-22) See [4.4.0-beta.2 changelog](https://github.com/vitejs/vite/blob/v4.4.0-beta.2/packages/vite/CHANGELOG.md) ##### [4.4.0-beta.1](https://github.com/vitejs/vite/compare/v4.4.0-beta.0....v4.4.0-beta.1) (2023-06-21) See [4.4.0-beta.1 changelog](https://github.com/vitejs/vite/blob/v4.4.0-beta.1/packages/vite/CHANGELOG.md) ##### [4.4.0-beta.0](https://github.com/vitejs/vite/compare/v4.3.9....v4.4.0-beta.0) (2023-06-20) See [4.4.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v4.4.0-beta.0/packages/vite/CHANGELOG.md) </details> <details> <summary>pmndrs/zustand (zustand)</summary> ### [`v4.3.9`](https://github.com/pmndrs/zustand/releases/tag/v4.3.9) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.3.8...v4.3.9) This includes a small improvement for production build mostly for Vite users. Docs have been improved too! #### What's Changed - fix(build): mode env for "import" condition" by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/1845](https://github.com/pmndrs/zustand/pull/1845) #### New Contributors - [@​Debbl](https://github.com/Debbl) made their first contribution in [https://github.com/pmndrs/zustand/pull/1792](https://github.com/pmndrs/zustand/pull/1792) - [@​Nipodemos](https://github.com/Nipodemos) made their first contribution in [https://github.com/pmndrs/zustand/pull/1782](https://github.com/pmndrs/zustand/pull/1782) - [@​vadimshvetsov](https://github.com/vadimshvetsov) made their first contribution in [https://github.com/pmndrs/zustand/pull/1800](https://github.com/pmndrs/zustand/pull/1800) - [@​bobylito](https://github.com/bobylito) made their first contribution in [https://github.com/pmndrs/zustand/pull/1810](https://github.com/pmndrs/zustand/pull/1810) - [@​celineling](https://github.com/celineling) made their first contribution in [https://github.com/pmndrs/zustand/pull/1804](https://github.com/pmndrs/zustand/pull/1804) - [@​valerii15298](https://github.com/valerii15298) made their first contribution in [https://github.com/pmndrs/zustand/pull/1819](https://github.com/pmndrs/zustand/pull/1819) - [@​Hecmatyar](https://github.com/Hecmatyar) made their first contribution in [https://github.com/pmndrs/zustand/pull/1816](https://github.com/pmndrs/zustand/pull/1816) - [@​203x](https://github.com/203x) made their first contribution in [https://github.com/pmndrs/zustand/pull/1826](https://github.com/pmndrs/zustand/pull/1826) - [@​Ciensprog](https://github.com/Ciensprog) made their first contribution in [https://github.com/pmndrs/zustand/pull/1844](https://github.com/pmndrs/zustand/pull/1844) - [@​Romainlg29](https://github.com/Romainlg29) made their first contribution in [https://github.com/pmndrs/zustand/pull/1843](https://github.com/pmndrs/zustand/pull/1843) - [@​dcorb](https://github.com/dcorb) made their first contribution in [https://github.com/pmndrs/zustand/pull/1847](https://github.com/pmndrs/zustand/pull/1847) - [@​ivoilic](https://github.com/ivoilic) made their first contribution in [https://github.com/pmndrs/zustand/pull/1856](https://github.com/pmndrs/zustand/pull/1856) - [@​Kiku-CN](https://github.com/Kiku-CN) made their first contribution in [https://github.com/pmndrs/zustand/pull/1889](https://github.com/pmndrs/zustand/pull/1889) - [@​LartyHD](https://github.com/LartyHD) made their first contribution in [https://github.com/pmndrs/zustand/pull/1893](https://github.com/pmndrs/zustand/pull/1893) - [@​ChoiHyunjin](https://github.com/ChoiHyunjin) made their first contribution in [https://github.com/pmndrs/zustand/pull/1903](https://github.com/pmndrs/zustand/pull/1903) - [@​thesuryavivek](https://github.com/thesuryavivek) made their first contribution in [https://github.com/pmndrs/zustand/pull/1906](https://github.com/pmndrs/zustand/pull/1906) - [@​thedipankarroy](https://github.com/thedipankarroy) made their first contribution in [https://github.com/pmndrs/zustand/pull/1913](https://github.com/pmndrs/zustand/pull/1913) **Full Changelog**: pmndrs/zustand@v4.3.8...v4.3.9 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/mheob/ef-calc).
Summary
I wrote some documentation extending the existing
Connect to state with URL hash
page to include code example for persisting state in localstorage and connecting state with URL parameters, and building shareable URL.Thank you for a great project 🙏
Check List
yarn run prettier
for formatting code and docs