mirror of
https://github.com/pmndrs/zustand.git
synced 2025-12-08 19:45:52 +00:00
fix: updated the "Advanced Typescript Guide" link throughout the documentation (#3294)
This commit is contained in:
parent
81df20a050
commit
cda9d12078
@ -117,4 +117,4 @@ Please keep in mind you should only apply middlewares in the combined store. App
|
||||
|
||||
## Usage with TypeScript
|
||||
|
||||
A detailed guide on how to use the slice pattern in Zustand with TypeScript can be found [here](./typescript.md#slices-pattern).
|
||||
A detailed guide on how to use the slice pattern in Zustand with TypeScript can be found [here](./advanced-typescript.md#slices-pattern).
|
||||
|
||||
@ -19,7 +19,7 @@ npm install immer
|
||||
|
||||
## Usage
|
||||
|
||||
(Notice the extra parentheses after the type parameter as mentioned in the [Typescript Guide](../guides/typescript.md)).
|
||||
(Notice the extra parentheses after the type parameter as mentioned in the [Advanced Typescript Guide](../guides/advanced-typescript.md)).
|
||||
|
||||
Updating simple states
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ this guide applies.
|
||||
Otherwise, no migration is required.
|
||||
|
||||
Also, it's recommended to first read
|
||||
the new [TypeScript Guide](../guides/typescript.md),
|
||||
the new [TypeScript Guide](../guides/advanced-typescript.md),
|
||||
so that the migration is easier to understand.
|
||||
|
||||
In addition to this migration guide,
|
||||
@ -87,8 +87,8 @@ If you are using `StateCreator`,
|
||||
you are likely authoring a middleware
|
||||
or using the "slices" pattern.
|
||||
For that check the
|
||||
[Authoring middlewares and advanced usage](../guides/typescript.md#authoring-middlewares-and-advanced-usage)
|
||||
and [Common recipes](../guides/typescript.md#common-recipes)
|
||||
[Authoring middlewares and advanced usage](../guides/advanced-typescript.md#authoring-middlewares-and-advanced-usage)
|
||||
and [Common recipes](../guides/advanced-typescript.md#common-recipes)
|
||||
sections of the TypeScript Guide.
|
||||
|
||||
## `PartialState`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user