-
-
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
updated getting-started doc with more examples #2348
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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. |
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.
We try and put much effort to reduce lines in readme.md.
Please add more examples in ./docs
.
Moved to docs 👍 |
docs/getting-started/introduction.md
Outdated
@@ -49,6 +49,7 @@ const useStore = create((set) => ({ | |||
bears: 0, | |||
increasePopulation: () => set((state) => ({ bears: state.bears + 1 })), | |||
removeAllBears: () => set({ bears: 0 }), | |||
updateBears: (newBears) => set({bears: newBears}), |
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.
Please format the file with Prettier
Looks good, but is adding one line example good enough for "how we can update state with parameters"? Also, it doesn't feel |
@dai-shi yeah, we need improve getting started and add more examples |
* updated readme with more examples * moved example to docs from readme * formatted code with Prettier --------- Co-authored-by: Ankit Sagar <[email protected]>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.16` -> `20.11.25`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.16/20.11.25) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.16/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.16/20.11.25?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/tree/HEAD/types/react)) | [`18.2.52` -> `18.2.64`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.52/18.2.64) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.64?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.64?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.52/18.2.64?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.52/18.2.64?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/tree/HEAD/types/react-dom)) | [`18.2.18` -> `18.2.21`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.2.18/18.2.21) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/18.2.18/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/18.2.18/18.2.21?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@vercel/analytics](https://github.com/vercel/analytics) ([source](https://github.com/vercel/analytics/tree/HEAD/packages/web)) | [`1.1.2` -> `1.2.2`](https://renovatebot.com/diffs/npm/@vercel%2fanalytics/1.1.2/1.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@vercel%2fanalytics/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@vercel%2fanalytics/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@vercel%2fanalytics/1.1.2/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@vercel%2fanalytics/1.1.2/1.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`8.56.0` -> `8.57.0`](https://renovatebot.com/diffs/npm/eslint/8.56.0/8.57.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.56.0/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.56.0/8.57.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/TypeScript)) | [`5.3.3` -> `5.4.2`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://vitejs.dev) ([source](https://github.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.0.12` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.0.12/5.1.5) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.0.12/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.0.12/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [zustand](https://github.com/pmndrs/zustand) | [`4.5.0` -> `4.5.2`](https://renovatebot.com/diffs/npm/zustand/4.5.0/4.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zustand/4.5.0/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zustand/4.5.0/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>vercel/analytics (@​vercel/analytics)</summary> ### [`v1.2.2`](https://github.com/vercel/analytics/releases/tag/1.2.2) [Compare Source](https://github.com/vercel/analytics/compare/1.2.1...1.2.2) #### What's Changed - fix: export issue when testing with jest and ts-node by [@​feugy](https://github.com/feugy) in [https://github.com/vercel/analytics/pull/134](https://github.com/vercel/analytics/pull/134) **Full Changelog**: vercel/analytics@1.2.1...1.2.2 ### [`v1.2.1`](https://github.com/vercel/analytics/releases/tag/1.2.1) [Compare Source](https://github.com/vercel/analytics/compare/1.2.0...1.2.1) #### What's Changed - fix: incorrect package exports by [@​feugy](https://github.com/feugy) in [https://github.com/vercel/analytics/pull/133](https://github.com/vercel/analytics/pull/133) #### New Contributors - [@​feugy](https://github.com/feugy) made their first contribution in [https://github.com/vercel/analytics/pull/133](https://github.com/vercel/analytics/pull/133) **Full Changelog**: vercel/analytics@1.2.0...1.2.1 ### [`v1.2.0`](https://github.com/vercel/analytics/releases/tag/1.2.0) [Compare Source](https://github.com/vercel/analytics/compare/1.1.4...1.2.0) #### What's Changed - Add route support by [@​tobiaslins](https://github.com/tobiaslins) in [https://github.com/vercel/analytics/pull/127](https://github.com/vercel/analytics/pull/127) **Full Changelog**: vercel/analytics@1.1.4...1.2.0 ### [`v1.1.4`](https://github.com/vercel/analytics/releases/tag/1.1.4) [Compare Source](https://github.com/vercel/analytics/compare/1.1.3...1.1.4) #### What's Changed - server/track: always consume the response body for a track request by [@​MaxLeiter](https://github.com/MaxLeiter) in [https://github.com/vercel/analytics/pull/131](https://github.com/vercel/analytics/pull/131) #### New Contributors - [@​MaxLeiter](https://github.com/MaxLeiter) made their first contribution in [https://github.com/vercel/analytics/pull/131](https://github.com/vercel/analytics/pull/131) **Full Changelog**: vercel/analytics@1.1.3...1.1.4 ### [`v1.1.3`](https://github.com/vercel/analytics/releases/tag/1.1.3) [Compare Source](https://github.com/vercel/analytics/compare/1.1.2...1.1.3) #### What's Changed - Server events can now be sent when deployment protection is enabled by [@​tobiaslins](https://github.com/tobiaslins) in [https://github.com/vercel/analytics/pull/129](https://github.com/vercel/analytics/pull/129) **Full Changelog**: vercel/analytics@1.1.2...1.1.3 </details> <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.57.0`](https://github.com/eslint/eslint/releases/tag/v8.57.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.56.0...v8.57.0) #### Features - [`1120b9b`](https://github.com/eslint/eslint/commit/1120b9b7b97f10f059d8b7ede19de2572f892366) feat: Add loadESLint() API method for v8 ([#​18098](https://github.com/eslint/eslint/issues/18098)) (Nicholas C. Zakas) - [`dca7d0f`](https://github.com/eslint/eslint/commit/dca7d0f1c262bc72310147bcefe1d04ecf60acbc) feat: Enable `eslint.config.mjs` and `eslint.config.cjs` ([#​18066](https://github.com/eslint/eslint/issues/18066)) (Nitin Kumar) #### Bug Fixes - [`2196d97`](https://github.com/eslint/eslint/commit/2196d97094ba94d6d750828879a29538d1600de5) fix: handle absolute file paths in `FlatRuleTester` ([#​18064](https://github.com/eslint/eslint/issues/18064)) (Nitin Kumar) - [`69dd1d1`](https://github.com/eslint/eslint/commit/69dd1d1387b7b53617548d1f9f2c149f179e6e17) fix: Ensure config keys are printed for config errors ([#​18067](https://github.com/eslint/eslint/issues/18067)) (Nitin Kumar) - [`9852a31`](https://github.com/eslint/eslint/commit/9852a31edcf054bd5d15753ef18e2ad3216b1b71) fix: deep merge behavior in flat config ([#​18065](https://github.com/eslint/eslint/issues/18065)) (Nitin Kumar) - [`4c7e9b0`](https://github.com/eslint/eslint/commit/4c7e9b0b539ba879ac1799e81f3b6add2eed4b2f) fix: allow circular references in config ([#​18056](https://github.com/eslint/eslint/issues/18056)) (Milos Djermanovic) #### Documentation - [`84922d0`](https://github.com/eslint/eslint/commit/84922d0bfa10689a34a447ab8e55975ff1c1c708) docs: Show prerelease version in dropdown ([#​18139](https://github.com/eslint/eslint/issues/18139)) (Nicholas C. Zakas) - [`5b8c363`](https://github.com/eslint/eslint/commit/5b8c3636a3d7536535a6878eca0e5b773e4829d4) docs: Switch to Ethical Ads ([#​18117](https://github.com/eslint/eslint/issues/18117)) (Milos Djermanovic) - [`77dbfd9`](https://github.com/eslint/eslint/commit/77dbfd9887b201a46fc68631cbde50c08e1a8dbf) docs: show NEXT in version selectors ([#​18052](https://github.com/eslint/eslint/issues/18052)) (Milos Djermanovic) #### Chores - [`1813aec`](https://github.com/eslint/eslint/commit/1813aecc4660582b0678cf32ba466eb9674266c4) chore: upgrade [@​eslint/js](https://github.com/eslint/js)[@​8](https://github.com/8).57.0 ([#​18143](https://github.com/eslint/eslint/issues/18143)) (Milos Djermanovic) - [`5c356bb`](https://github.com/eslint/eslint/commit/5c356bb0c6f53c570224f8e9f02c4baca8fc6d2f) chore: package.json update for [@​eslint/js](https://github.com/eslint/js) release (Jenkins) - [`f4a1fe2`](https://github.com/eslint/eslint/commit/f4a1fe2e45aa1089fe775290bf530de82f34bf16) test: add more tests for ignoring files and directories ([#​18068](https://github.com/eslint/eslint/issues/18068)) (Nitin Kumar) - [`42c0aef`](https://github.com/eslint/eslint/commit/42c0aefaf6ea8b998b1c6db61906a79c046d301a) ci: Enable CI for `v8.x` branch ([#​18047](https://github.com/eslint/eslint/issues/18047)) (Milos Djermanovic) </details> <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.2`](https://github.com/microsoft/TypeScript/releases/tag/v5.4.2): TypeScript 5.4 [Compare Source](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.1.5`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small) [Compare Source](https://github.com/vitejs/vite/compare/v5.1.4...v5.1.5) - fix: `__vite__mapDeps` code injection ([#​15732](https://github.com/vitejs/vite/issues/15732)) ([aff54e1](https://github.com/vitejs/vite/commit/aff54e1)), closes [#​15732](https://github.com/vitejs/vite/issues/15732) - fix: analysing build chunk without dependencies ([#​15469](https://github.com/vitejs/vite/issues/15469)) ([bd52283](https://github.com/vitejs/vite/commit/bd52283)), closes [#​15469](https://github.com/vitejs/vite/issues/15469) - fix: import with query with imports field ([#​16085](https://github.com/vitejs/vite/issues/16085)) ([ab823ab](https://github.com/vitejs/vite/commit/ab823ab)), closes [#​16085](https://github.com/vitejs/vite/issues/16085) - fix: normalize literal-only entry pattern ([#​16010](https://github.com/vitejs/vite/issues/16010)) ([1dccc37](https://github.com/vitejs/vite/commit/1dccc37)), closes [#​16010](https://github.com/vitejs/vite/issues/16010) - fix: optimizeDeps.entries with literal-only pattern(s) ([#​15853](https://github.com/vitejs/vite/issues/15853)) ([49300b3](https://github.com/vitejs/vite/commit/49300b3)), closes [#​15853](https://github.com/vitejs/vite/issues/15853) - fix: output correct error for empty import specifier ([#​16055](https://github.com/vitejs/vite/issues/16055)) ([a9112eb](https://github.com/vitejs/vite/commit/a9112eb)), closes [#​16055](https://github.com/vitejs/vite/issues/16055) - fix: upgrade esbuild to 0.20.x ([#​16062](https://github.com/vitejs/vite/issues/16062)) ([899d9b1](https://github.com/vitejs/vite/commit/899d9b1)), closes [#​16062](https://github.com/vitejs/vite/issues/16062) - fix(runtime): runtime HMR affects only imported files ([#​15898](https://github.com/vitejs/vite/issues/15898)) ([57463fc](https://github.com/vitejs/vite/commit/57463fc)), closes [#​15898](https://github.com/vitejs/vite/issues/15898) - fix(scanner): respect `experimentalDecorators: true` ([#​15206](https://github.com/vitejs/vite/issues/15206)) ([4144781](https://github.com/vitejs/vite/commit/4144781)), closes [#​15206](https://github.com/vitejs/vite/issues/15206) - revert: "fix: upgrade esbuild to 0.20.x" ([#​16072](https://github.com/vitejs/vite/issues/16072)) ([11cceea](https://github.com/vitejs/vite/commit/11cceea)), closes [#​16072](https://github.com/vitejs/vite/issues/16072) - refactor: share code with vite runtime ([#​15907](https://github.com/vitejs/vite/issues/15907)) ([b20d542](https://github.com/vitejs/vite/commit/b20d542)), closes [#​15907](https://github.com/vitejs/vite/issues/15907) - refactor(runtime): use functions from `pathe` ([#​16061](https://github.com/vitejs/vite/issues/16061)) ([aac2ef7](https://github.com/vitejs/vite/commit/aac2ef7)), closes [#​16061](https://github.com/vitejs/vite/issues/16061) - chore(deps): update all non-major dependencies ([#​16028](https://github.com/vitejs/vite/issues/16028)) ([7cfe80d](https://github.com/vitejs/vite/commit/7cfe80d)), closes [#​16028](https://github.com/vitejs/vite/issues/16028) ### [`v5.1.4`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small514-2024-02-21-small) [Compare Source](https://github.com/vitejs/vite/compare/v5.1.3...v5.1.4) - perf: remove unnecessary regex s modifier ([#​15766](https://github.com/vitejs/vite/issues/15766)) ([8dc1b73](https://github.com/vitejs/vite/commit/8dc1b73)), closes [#​15766](https://github.com/vitejs/vite/issues/15766) - fix: fs cached checks disabled by default for yarn pnp ([#​15920](https://github.com/vitejs/vite/issues/15920)) ([8b11fea](https://github.com/vitejs/vite/commit/8b11fea)), closes [#​15920](https://github.com/vitejs/vite/issues/15920) - fix: resolve directory correctly when `fs.cachedChecks: true` ([#​15983](https://github.com/vitejs/vite/issues/15983)) ([4fe971f](https://github.com/vitejs/vite/commit/4fe971f)), closes [#​15983](https://github.com/vitejs/vite/issues/15983) - fix: srcSet with optional descriptor ([#​15905](https://github.com/vitejs/vite/issues/15905)) ([81b3bd0](https://github.com/vitejs/vite/commit/81b3bd0)), closes [#​15905](https://github.com/vitejs/vite/issues/15905) - fix(deps): update all non-major dependencies ([#​15959](https://github.com/vitejs/vite/issues/15959)) ([571a3fd](https://github.com/vitejs/vite/commit/571a3fd)), closes [#​15959](https://github.com/vitejs/vite/issues/15959) - fix(watch): build watch fails when outDir is empty string ([#​15979](https://github.com/vitejs/vite/issues/15979)) ([1d263d3](https://github.com/vitejs/vite/commit/1d263d3)), closes [#​15979](https://github.com/vitejs/vite/issues/15979) ### [`v5.1.3`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small513-2024-02-15-small) [Compare Source](https://github.com/vitejs/vite/compare/v5.1.2...v5.1.3) - fix: cachedTransformMiddleware for direct css requests ([#​15919](https://github.com/vitejs/vite/issues/15919)) ([5099028](https://github.com/vitejs/vite/commit/5099028)), closes [#​15919](https://github.com/vitejs/vite/issues/15919) - refactor(runtime): minor tweaks ([#​15904](https://github.com/vitejs/vite/issues/15904)) ([63a39c2](https://github.com/vitejs/vite/commit/63a39c2)), closes [#​15904](https://github.com/vitejs/vite/issues/15904) - refactor(runtime): seal ES module namespace object instead of feezing ([#​15914](https://github.com/vitejs/vite/issues/15914)) ([4172f02](https://github.com/vitejs/vite/commit/4172f02)), closes [#​15914](https://github.com/vitejs/vite/issues/15914) ### [`v5.1.2`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small512-2024-02-14-small) [Compare Source](https://github.com/vitejs/vite/compare/v5.1.1...v5.1.2) - fix: normalize import file path info ([#​15772](https://github.com/vitejs/vite/issues/15772)) ([306df44](https://github.com/vitejs/vite/commit/306df44)), closes [#​15772](https://github.com/vitejs/vite/issues/15772) - fix(build): do not output build time when build fails ([#​15711](https://github.com/vitejs/vite/issues/15711)) ([added3e](https://github.com/vitejs/vite/commit/added3e)), closes [#​15711](https://github.com/vitejs/vite/issues/15711) - fix(runtime): pass path instead of fileURL to `isFilePathESM` ([#​15908](https://github.com/vitejs/vite/issues/15908)) ([7b15607](https://github.com/vitejs/vite/commit/7b15607)), closes [#​15908](https://github.com/vitejs/vite/issues/15908) - fix(worker): support UTF-8 encoding in inline workers (fixes [#​12117](https://github.com/vitejs/vite/issues/12117)) ([#​15866](https://github.com/vitejs/vite/issues/15866)) ([570e0f1](https://github.com/vitejs/vite/commit/570e0f1)), closes [#​12117](https://github.com/vitejs/vite/issues/12117) [#​15866](https://github.com/vitejs/vite/issues/15866) - chore: update license file ([#​15885](https://github.com/vitejs/vite/issues/15885)) ([d9adf18](https://github.com/vitejs/vite/commit/d9adf18)), closes [#​15885](https://github.com/vitejs/vite/issues/15885) - chore(deps): update all non-major dependencies ([#​15874](https://github.com/vitejs/vite/issues/15874)) ([d16ce5d](https://github.com/vitejs/vite/commit/d16ce5d)), closes [#​15874](https://github.com/vitejs/vite/issues/15874) - chore(deps): update dependency dotenv-expand to v11 ([#​15875](https://github.com/vitejs/vite/issues/15875)) ([642d528](https://github.com/vitejs/vite/commit/642d528)), closes [#​15875](https://github.com/vitejs/vite/issues/15875) ### [`v5.1.1`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small511-2024-02-09-small) - fix: empty CSS file was output when only .css?url is used ([#​15846](https://github.com/vitejs/vite/issues/15846)) ([b2873ac](https://github.com/vitejs/vite/commit/b2873ac)), closes [#​15846](https://github.com/vitejs/vite/issues/15846) - fix: skip not only .js but also .mjs manifest entries ([#​15841](https://github.com/vitejs/vite/issues/15841)) ([3d860e7](https://github.com/vitejs/vite/commit/3d860e7)), closes [#​15841](https://github.com/vitejs/vite/issues/15841) - chore: post 5.1 release edits ([#​15840](https://github.com/vitejs/vite/issues/15840)) ([9da6502](https://github.com/vitejs/vite/commit/9da6502)), closes [#​15840](https://github.com/vitejs/vite/issues/15840) ### [`v5.1.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#510-2024-02-08) - chore: revert [#​15746](https://github.com/vitejs/vite/issues/15746) ([#​15839](https://github.com/vitejs/vite/issues/15839)) ([ed875f8](https://github.com/vitejs/vite/commit/ed875f8)), closes [#​15746](https://github.com/vitejs/vite/issues/15746) [#​15839](https://github.com/vitejs/vite/issues/15839) - fix: pass `customLogger` to `loadConfigFromFile` (fix [#​15824](https://github.com/vitejs/vite/issues/15824)) ([#​15831](https://github.com/vitejs/vite/issues/15831)) ([55a3427](https://github.com/vitejs/vite/commit/55a3427)), closes [#​15824](https://github.com/vitejs/vite/issues/15824) [#​15831](https://github.com/vitejs/vite/issues/15831) - fix(deps): update all non-major dependencies ([#​15803](https://github.com/vitejs/vite/issues/15803)) ([e0a6ef2](https://github.com/vitejs/vite/commit/e0a6ef2)), closes [#​15803](https://github.com/vitejs/vite/issues/15803) - refactor: remove `vite build --force` ([#​15837](https://github.com/vitejs/vite/issues/15837)) ([f1a4242](https://github.com/vitejs/vite/commit/f1a4242)), closes [#​15837](https://github.com/vitejs/vite/issues/15837) </details> <details> <summary>pmndrs/zustand (zustand)</summary> ### [`v4.5.2`](https://github.com/pmndrs/zustand/releases/tag/v4.5.2) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.5.1...v4.5.2) It should improve the compatibility with old browsers. #### What's Changed - refactor(shallow): Use for..of instead of C-style for by [@​onlined](https://github.com/onlined) in [https://github.com/pmndrs/zustand/pull/2374](https://github.com/pmndrs/zustand/pull/2374) - fix: return type of persist migrate function changed to PersistedState by [@​bobdepreziz](https://github.com/bobdepreziz) in [https://github.com/pmndrs/zustand/pull/2360](https://github.com/pmndrs/zustand/pull/2360) - build: target es2018 by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2361](https://github.com/pmndrs/zustand/pull/2361) #### New Contributors - [@​medyahyejoud](https://github.com/medyahyejoud) made their first contribution in [https://github.com/pmndrs/zustand/pull/2353](https://github.com/pmndrs/zustand/pull/2353) - [@​yankycranky](https://github.com/yankycranky) made their first contribution in [https://github.com/pmndrs/zustand/pull/2348](https://github.com/pmndrs/zustand/pull/2348) - [@​cheeZery](https://github.com/cheeZery) made their first contribution in [https://github.com/pmndrs/zustand/pull/2364](https://github.com/pmndrs/zustand/pull/2364) - [@​Cadienvan](https://github.com/Cadienvan) made their first contribution in [https://github.com/pmndrs/zustand/pull/2378](https://github.com/pmndrs/zustand/pull/2378) - [@​bobdepreziz](https://github.com/bobdepreziz) made their first contribution in [https://github.com/pmndrs/zustand/pull/2360](https://github.com/pmndrs/zustand/pull/2360) **Full Changelog**: pmndrs/zustand@v4.5.1...v4.5.2 ### [`v4.5.1`](https://github.com/pmndrs/zustand/releases/tag/v4.5.1) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.5.0...v4.5.1) People might have misunderstood with `useStore` deprecation message. Hope this mitigates it. #### What's Changed - Relax types for `persist` middleware by [@​rafaeelaudibert](https://github.com/rafaeelaudibert) in [https://github.com/pmndrs/zustand/pull/2332](https://github.com/pmndrs/zustand/pull/2332) - chore: clarify deprecation message by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2337](https://github.com/pmndrs/zustand/pull/2337) #### New Contributors - [@​alexander-densley](https://github.com/alexander-densley) made their first contribution in [https://github.com/pmndrs/zustand/pull/2321](https://github.com/pmndrs/zustand/pull/2321) - [@​rafaeelaudibert](https://github.com/rafaeelaudibert) made their first contribution in [https://github.com/pmndrs/zustand/pull/2332](https://github.com/pmndrs/zustand/pull/2332) **Full Changelog**: pmndrs/zustand@v4.5.0...v4.5.1 </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).
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`20.11.24` -> `20.11.30`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.11.30) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.30?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.30?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.24/20.11.30?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.24/20.11.30?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/tree/HEAD/types/react)) | [`18.2.61` -> `18.2.67`](https://renovatebot.com/diffs/npm/@types%2freact/18.2.61/18.2.67) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact/18.2.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact/18.2.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact/18.2.61/18.2.67?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact/18.2.61/18.2.67?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/tree/HEAD/types/react-dom)) | [`18.2.19` -> `18.2.22`](https://renovatebot.com/diffs/npm/@types%2freact-dom/18.2.19/18.2.22) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2freact-dom/18.2.22?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2freact-dom/18.2.22?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2freact-dom/18.2.19/18.2.22?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2freact-dom/18.2.19/18.2.22?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [typescript](https://www.typescriptlang.org/) ([source](https://github.com/Microsoft/TypeScript)) | [`5.3.3` -> `5.4.3`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [vite](https://github.com/vitejs/vite/tree/main/#readme) ([source](https://github.com/vitejs/vite/tree/HEAD/packages/vite)) | [`5.1.4` -> `5.2.2`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.2.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.4/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.4/5.2.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [zustand](https://github.com/pmndrs/zustand) | [`4.5.1` -> `4.5.2`](https://renovatebot.com/diffs/npm/zustand/4.5.1/4.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zustand/4.5.1/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zustand/4.5.1/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>Microsoft/TypeScript (typescript)</summary> ### [`v5.4.3`](https://github.com/microsoft/TypeScript/releases/tag/v5.4.3): TypeScript 5.4.3 [Compare Source](https://github.com/Microsoft/TypeScript/compare/v5.4.2...v5.4.3) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.3 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.3%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) ### [`v5.4.2`](https://github.com/microsoft/TypeScript/releases/tag/v5.4.2): TypeScript 5.4 [Compare Source](https://github.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2) For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/). For the complete list of fixed issues, check out the - [fixed issues query for Typescript 5.4.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+). - [fixed issues query for Typescript 5.4.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+). Downloads are available on: - [NuGet package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild) </details> <details> <summary>vitejs/vite (vite)</summary> ### [`v5.2.2`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small522-2024-03-20-small) - fix(importAnalysis): skip encode in ssr ([#​16213](https://github.com/vitejs/vite/issues/16213)) ([e4d2d60](https://github.com/vitejs/vite/commit/e4d2d60)), closes [#​16213](https://github.com/vitejs/vite/issues/16213) ### [`v5.2.1`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small521-2024-03-20-small) - fix: encode path uri only ([#​16212](https://github.com/vitejs/vite/issues/16212)) ([0b2e40b](https://github.com/vitejs/vite/commit/0b2e40b)), closes [#​16212](https://github.com/vitejs/vite/issues/16212) ### [`v5.2.0`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#520-2024-03-20) - fix: update client.ts@cleanUrl to accomodate blob protocol ([#​16182](https://github.com/vitejs/vite/issues/16182)) ([1a3b1d7](https://github.com/vitejs/vite/commit/1a3b1d7)), closes [#​16182](https://github.com/vitejs/vite/issues/16182) - fix(assets): avoid splitting `,` inside query parameter of image URI in srcset property ([#​16081](https://github.com/vitejs/vite/issues/16081)) ([50caf67](https://github.com/vitejs/vite/commit/50caf67)), closes [#​16081](https://github.com/vitejs/vite/issues/16081) - chore(deps): update all non-major dependencies ([#​16186](https://github.com/vitejs/vite/issues/16186)) ([842643d](https://github.com/vitejs/vite/commit/842643d)), closes [#​16186](https://github.com/vitejs/vite/issues/16186) - perf(transformRequest): fast-path watch and sourcemap handling ([#​16170](https://github.com/vitejs/vite/issues/16170)) ([de60f1e](https://github.com/vitejs/vite/commit/de60f1e)), closes [#​16170](https://github.com/vitejs/vite/issues/16170) - docs: add `@shikiji/vitepress-twoslash` ([#​16168](https://github.com/vitejs/vite/issues/16168)) ([6f8a320](https://github.com/vitejs/vite/commit/6f8a320)), closes [#​16168](https://github.com/vitejs/vite/issues/16168) ### [`v5.1.7`](https://github.com/vitejs/vite/releases/tag/v5.1.7) [Compare Source](https://github.com/vitejs/vite/compare/v5.1.6...v5.1.7) Please refer to [CHANGELOG.md](https://github.com/vitejs/vite/blob/v5.1.7/packages/vite/CHANGELOG.md) for details. ### [`v5.1.6`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small516-2024-03-11-small) [Compare Source](https://github.com/vitejs/vite/compare/v5.1.5...v5.1.6) - chore(deps): update all non-major dependencies ([#​16131](https://github.com/vitejs/vite/issues/16131)) ([a862ecb](https://github.com/vitejs/vite/commit/a862ecb)), closes [#​16131](https://github.com/vitejs/vite/issues/16131) - fix: check for publicDir before checking if it is a parent directory ([#​16046](https://github.com/vitejs/vite/issues/16046)) ([b6fb323](https://github.com/vitejs/vite/commit/b6fb323)), closes [#​16046](https://github.com/vitejs/vite/issues/16046) - fix: escape single quote when relative base is used ([#​16060](https://github.com/vitejs/vite/issues/16060)) ([8f74ce4](https://github.com/vitejs/vite/commit/8f74ce4)), closes [#​16060](https://github.com/vitejs/vite/issues/16060) - fix: handle function property extension in namespace import ([#​16113](https://github.com/vitejs/vite/issues/16113)) ([f699194](https://github.com/vitejs/vite/commit/f699194)), closes [#​16113](https://github.com/vitejs/vite/issues/16113) - fix: server middleware mode resolve ([#​16122](https://github.com/vitejs/vite/issues/16122)) ([8403546](https://github.com/vitejs/vite/commit/8403546)), closes [#​16122](https://github.com/vitejs/vite/issues/16122) - fix(esbuild): update tsconfck to fix bug that could cause a deadlock ([#​16124](https://github.com/vitejs/vite/issues/16124)) ([fd9de04](https://github.com/vitejs/vite/commit/fd9de04)), closes [#​16124](https://github.com/vitejs/vite/issues/16124) - fix(worker): hide "The emitted file overwrites" warning if the content is same ([#​16094](https://github.com/vitejs/vite/issues/16094)) ([60dfa9e](https://github.com/vitejs/vite/commit/60dfa9e)), closes [#​16094](https://github.com/vitejs/vite/issues/16094) - fix(worker): throw error when circular worker import is detected and support self referencing worker ([eef9da1](https://github.com/vitejs/vite/commit/eef9da1)), closes [#​16103](https://github.com/vitejs/vite/issues/16103) - style(utils): remove null check ([#​16112](https://github.com/vitejs/vite/issues/16112)) ([0d2df52](https://github.com/vitejs/vite/commit/0d2df52)), closes [#​16112](https://github.com/vitejs/vite/issues/16112) - refactor(runtime): share more code between runtime and main bundle ([#​16063](https://github.com/vitejs/vite/issues/16063)) ([93be84e](https://github.com/vitejs/vite/commit/93be84e)), closes [#​16063](https://github.com/vitejs/vite/issues/16063) ### [`v5.1.5`](https://github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small) [Compare Source](https://github.com/vitejs/vite/compare/v5.1.4...v5.1.5) - fix: `__vite__mapDeps` code injection ([#​15732](https://github.com/vitejs/vite/issues/15732)) ([aff54e1](https://github.com/vitejs/vite/commit/aff54e1)), closes [#​15732](https://github.com/vitejs/vite/issues/15732) - fix: analysing build chunk without dependencies ([#​15469](https://github.com/vitejs/vite/issues/15469)) ([bd52283](https://github.com/vitejs/vite/commit/bd52283)), closes [#​15469](https://github.com/vitejs/vite/issues/15469) - fix: import with query with imports field ([#​16085](https://github.com/vitejs/vite/issues/16085)) ([ab823ab](https://github.com/vitejs/vite/commit/ab823ab)), closes [#​16085](https://github.com/vitejs/vite/issues/16085) - fix: normalize literal-only entry pattern ([#​16010](https://github.com/vitejs/vite/issues/16010)) ([1dccc37](https://github.com/vitejs/vite/commit/1dccc37)), closes [#​16010](https://github.com/vitejs/vite/issues/16010) - fix: optimizeDeps.entries with literal-only pattern(s) ([#​15853](https://github.com/vitejs/vite/issues/15853)) ([49300b3](https://github.com/vitejs/vite/commit/49300b3)), closes [#​15853](https://github.com/vitejs/vite/issues/15853) - fix: output correct error for empty import specifier ([#​16055](https://github.com/vitejs/vite/issues/16055)) ([a9112eb](https://github.com/vitejs/vite/commit/a9112eb)), closes [#​16055](https://github.com/vitejs/vite/issues/16055) - fix: upgrade esbuild to 0.20.x ([#​16062](https://github.com/vitejs/vite/issues/16062)) ([899d9b1](https://github.com/vitejs/vite/commit/899d9b1)), closes [#​16062](https://github.com/vitejs/vite/issues/16062) - fix(runtime): runtime HMR affects only imported files ([#​15898](https://github.com/vitejs/vite/issues/15898)) ([57463fc](https://github.com/vitejs/vite/commit/57463fc)), closes [#​15898](https://github.com/vitejs/vite/issues/15898) - fix(scanner): respect `experimentalDecorators: true` ([#​15206](https://github.com/vitejs/vite/issues/15206)) ([4144781](https://github.com/vitejs/vite/commit/4144781)), closes [#​15206](https://github.com/vitejs/vite/issues/15206) - revert: "fix: upgrade esbuild to 0.20.x" ([#​16072](https://github.com/vitejs/vite/issues/16072)) ([11cceea](https://github.com/vitejs/vite/commit/11cceea)), closes [#​16072](https://github.com/vitejs/vite/issues/16072) - refactor: share code with vite runtime ([#​15907](https://github.com/vitejs/vite/issues/15907)) ([b20d542](https://github.com/vitejs/vite/commit/b20d542)), closes [#​15907](https://github.com/vitejs/vite/issues/15907) - refactor(runtime): use functions from `pathe` ([#​16061](https://github.com/vitejs/vite/issues/16061)) ([aac2ef7](https://github.com/vitejs/vite/commit/aac2ef7)), closes [#​16061](https://github.com/vitejs/vite/issues/16061) - chore(deps): update all non-major dependencies ([#​16028](https://github.com/vitejs/vite/issues/16028)) ([7cfe80d](https://github.com/vitejs/vite/commit/7cfe80d)), closes [#​16028](https://github.com/vitejs/vite/issues/16028) </details> <details> <summary>pmndrs/zustand (zustand)</summary> ### [`v4.5.2`](https://github.com/pmndrs/zustand/releases/tag/v4.5.2) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.5.1...v4.5.2) It should improve the compatibility with old browsers. #### What's Changed - refactor(shallow): Use for..of instead of C-style for by [@​onlined](https://github.com/onlined) in [https://github.com/pmndrs/zustand/pull/2374](https://github.com/pmndrs/zustand/pull/2374) - fix: return type of persist migrate function changed to PersistedState by [@​bobdepreziz](https://github.com/bobdepreziz) in [https://github.com/pmndrs/zustand/pull/2360](https://github.com/pmndrs/zustand/pull/2360) - build: target es2018 by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2361](https://github.com/pmndrs/zustand/pull/2361) #### New Contributors - [@​medyahyejoud](https://github.com/medyahyejoud) made their first contribution in [https://github.com/pmndrs/zustand/pull/2353](https://github.com/pmndrs/zustand/pull/2353) - [@​yankycranky](https://github.com/yankycranky) made their first contribution in [https://github.com/pmndrs/zustand/pull/2348](https://github.com/pmndrs/zustand/pull/2348) - [@​cheeZery](https://github.com/cheeZery) made their first contribution in [https://github.com/pmndrs/zustand/pull/2364](https://github.com/pmndrs/zustand/pull/2364) - [@​Cadienvan](https://github.com/Cadienvan) made their first contribution in [https://github.com/pmndrs/zustand/pull/2378](https://github.com/pmndrs/zustand/pull/2378) - [@​bobdepreziz](https://github.com/bobdepreziz) made their first contribution in [https://github.com/pmndrs/zustand/pull/2360](https://github.com/pmndrs/zustand/pull/2360) **Full Changelog**: pmndrs/zustand@v4.5.1...v4.5.2 </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).
[![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.4.7` -> `4.5.2`](https://renovatebot.com/diffs/npm/zustand/4.4.7/4.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zustand/4.4.7/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zustand/4.4.7/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pmndrs/zustand (zustand)</summary> ### [`v4.5.2`](https://github.com/pmndrs/zustand/releases/tag/v4.5.2) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.5.1...v4.5.2) It should improve the compatibility with old browsers. #### What's Changed - refactor(shallow): Use for..of instead of C-style for by [@​onlined](https://github.com/onlined) in [https://github.com/pmndrs/zustand/pull/2374](https://github.com/pmndrs/zustand/pull/2374) - fix: return type of persist migrate function changed to PersistedState by [@​bobdepreziz](https://github.com/bobdepreziz) in [https://github.com/pmndrs/zustand/pull/2360](https://github.com/pmndrs/zustand/pull/2360) - build: target es2018 by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2361](https://github.com/pmndrs/zustand/pull/2361) #### New Contributors - [@​medyahyejoud](https://github.com/medyahyejoud) made their first contribution in [https://github.com/pmndrs/zustand/pull/2353](https://github.com/pmndrs/zustand/pull/2353) - [@​yankycranky](https://github.com/yankycranky) made their first contribution in [https://github.com/pmndrs/zustand/pull/2348](https://github.com/pmndrs/zustand/pull/2348) - [@​cheeZery](https://github.com/cheeZery) made their first contribution in [https://github.com/pmndrs/zustand/pull/2364](https://github.com/pmndrs/zustand/pull/2364) - [@​Cadienvan](https://github.com/Cadienvan) made their first contribution in [https://github.com/pmndrs/zustand/pull/2378](https://github.com/pmndrs/zustand/pull/2378) - [@​bobdepreziz](https://github.com/bobdepreziz) made their first contribution in [https://github.com/pmndrs/zustand/pull/2360](https://github.com/pmndrs/zustand/pull/2360) **Full Changelog**: pmndrs/zustand@v4.5.1...v4.5.2 ### [`v4.5.1`](https://github.com/pmndrs/zustand/releases/tag/v4.5.1) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.5.0...v4.5.1) People might have misunderstood with `useStore` deprecation message. Hope this mitigates it. #### What's Changed - Relax types for `persist` middleware by [@​rafaeelaudibert](https://github.com/rafaeelaudibert) in [https://github.com/pmndrs/zustand/pull/2332](https://github.com/pmndrs/zustand/pull/2332) - chore: clarify deprecation message by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2337](https://github.com/pmndrs/zustand/pull/2337) #### New Contributors - [@​alexander-densley](https://github.com/alexander-densley) made their first contribution in [https://github.com/pmndrs/zustand/pull/2321](https://github.com/pmndrs/zustand/pull/2321) - [@​rafaeelaudibert](https://github.com/rafaeelaudibert) made their first contribution in [https://github.com/pmndrs/zustand/pull/2332](https://github.com/pmndrs/zustand/pull/2332) **Full Changelog**: pmndrs/zustand@v4.5.0...v4.5.1 ### [`v4.5.0`](https://github.com/pmndrs/zustand/releases/tag/v4.5.0) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.4.7...v4.5.0) This version adds a new capability for SSR/Hydration. #### What's Changed - feat: getInitialState by [@​TkDodo](https://github.com/TkDodo) in [https://github.com/pmndrs/zustand/pull/2277](https://github.com/pmndrs/zustand/pull/2277) - fix: Add deprecation notice for getServerState() in WithReact type by [@​charkour](https://github.com/charkour) in [https://github.com/pmndrs/zustand/pull/2266](https://github.com/pmndrs/zustand/pull/2266) #### New Contributors - [@​Jontii](https://github.com/Jontii) made their first contribution in [https://github.com/pmndrs/zustand/pull/2228](https://github.com/pmndrs/zustand/pull/2228) - [@​wherehows](https://github.com/wherehows) made their first contribution in [https://github.com/pmndrs/zustand/pull/2239](https://github.com/pmndrs/zustand/pull/2239) - [@​ahulterstrom](https://github.com/ahulterstrom) made their first contribution in [https://github.com/pmndrs/zustand/pull/2252](https://github.com/pmndrs/zustand/pull/2252) - [@​JaeBrian](https://github.com/JaeBrian) made their first contribution in [https://github.com/pmndrs/zustand/pull/2267](https://github.com/pmndrs/zustand/pull/2267) - [@​CodyCodes95](https://github.com/CodyCodes95) made their first contribution in [https://github.com/pmndrs/zustand/pull/2218](https://github.com/pmndrs/zustand/pull/2218) **Full Changelog**: pmndrs/zustand@v4.4.7...v4.5.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10am on Friday" (UTC), 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/ettorepuccetti/terrarossa). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> 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 | |---|---|---|---|---|---| | [zustand](https://github.com/pmndrs/zustand) | [`4.4.7` -> `4.5.2`](https://renovatebot.com/diffs/npm/zustand/4.4.7/4.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/zustand/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/zustand/4.4.7/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/zustand/4.4.7/4.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>pmndrs/zustand (zustand)</summary> ### [`v4.5.2`](https://github.com/pmndrs/zustand/releases/tag/v4.5.2) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.5.1...v4.5.2) It should improve the compatibility with old browsers. #### What's Changed - refactor(shallow): Use for..of instead of C-style for by [@​onlined](https://github.com/onlined) in [https://github.com/pmndrs/zustand/pull/2374](https://github.com/pmndrs/zustand/pull/2374) - fix: return type of persist migrate function changed to PersistedState by [@​bobdepreziz](https://github.com/bobdepreziz) in [https://github.com/pmndrs/zustand/pull/2360](https://github.com/pmndrs/zustand/pull/2360) - build: target es2018 by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2361](https://github.com/pmndrs/zustand/pull/2361) #### New Contributors - [@​medyahyejoud](https://github.com/medyahyejoud) made their first contribution in [https://github.com/pmndrs/zustand/pull/2353](https://github.com/pmndrs/zustand/pull/2353) - [@​yankycranky](https://github.com/yankycranky) made their first contribution in [https://github.com/pmndrs/zustand/pull/2348](https://github.com/pmndrs/zustand/pull/2348) - [@​cheeZery](https://github.com/cheeZery) made their first contribution in [https://github.com/pmndrs/zustand/pull/2364](https://github.com/pmndrs/zustand/pull/2364) - [@​Cadienvan](https://github.com/Cadienvan) made their first contribution in [https://github.com/pmndrs/zustand/pull/2378](https://github.com/pmndrs/zustand/pull/2378) - [@​bobdepreziz](https://github.com/bobdepreziz) made their first contribution in [https://github.com/pmndrs/zustand/pull/2360](https://github.com/pmndrs/zustand/pull/2360) **Full Changelog**: pmndrs/zustand@v4.5.1...v4.5.2 ### [`v4.5.1`](https://github.com/pmndrs/zustand/releases/tag/v4.5.1) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.5.0...v4.5.1) People might have misunderstood with `useStore` deprecation message. Hope this mitigates it. #### What's Changed - Relax types for `persist` middleware by [@​rafaeelaudibert](https://github.com/rafaeelaudibert) in [https://github.com/pmndrs/zustand/pull/2332](https://github.com/pmndrs/zustand/pull/2332) - chore: clarify deprecation message by [@​dai-shi](https://github.com/dai-shi) in [https://github.com/pmndrs/zustand/pull/2337](https://github.com/pmndrs/zustand/pull/2337) #### New Contributors - [@​alexander-densley](https://github.com/alexander-densley) made their first contribution in [https://github.com/pmndrs/zustand/pull/2321](https://github.com/pmndrs/zustand/pull/2321) - [@​rafaeelaudibert](https://github.com/rafaeelaudibert) made their first contribution in [https://github.com/pmndrs/zustand/pull/2332](https://github.com/pmndrs/zustand/pull/2332) **Full Changelog**: pmndrs/zustand@v4.5.0...v4.5.1 ### [`v4.5.0`](https://github.com/pmndrs/zustand/releases/tag/v4.5.0) [Compare Source](https://github.com/pmndrs/zustand/compare/v4.4.7...v4.5.0) This version adds a new capability for SSR/Hydration. #### What's Changed - feat: getInitialState by [@​TkDodo](https://github.com/TkDodo) in [https://github.com/pmndrs/zustand/pull/2277](https://github.com/pmndrs/zustand/pull/2277) - fix: Add deprecation notice for getServerState() in WithReact type by [@​charkour](https://github.com/charkour) in [https://github.com/pmndrs/zustand/pull/2266](https://github.com/pmndrs/zustand/pull/2266) #### New Contributors - [@​Jontii](https://github.com/Jontii) made their first contribution in [https://github.com/pmndrs/zustand/pull/2228](https://github.com/pmndrs/zustand/pull/2228) - [@​wherehows](https://github.com/wherehows) made their first contribution in [https://github.com/pmndrs/zustand/pull/2239](https://github.com/pmndrs/zustand/pull/2239) - [@​ahulterstrom](https://github.com/ahulterstrom) made their first contribution in [https://github.com/pmndrs/zustand/pull/2252](https://github.com/pmndrs/zustand/pull/2252) - [@​JaeBrian](https://github.com/JaeBrian) made their first contribution in [https://github.com/pmndrs/zustand/pull/2267](https://github.com/pmndrs/zustand/pull/2267) - [@​CodyCodes95](https://github.com/CodyCodes95) made their first contribution in [https://github.com/pmndrs/zustand/pull/2218](https://github.com/pmndrs/zustand/pull/2218) **Full Changelog**: pmndrs/zustand@v4.4.7...v4.5.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 10am on Thursday" (UTC), 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/ettorepuccetti/t3-template). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Related Issues or Discussions
Added another example on how we can update state with parameters
Fixes #
Summary
Check List
yarn run prettier
for formatting code and docs