Update slices pattern links in readme and flux guide (#1353)

* readme: link slices pattern guide

* docs: update slices pattern link in flux guide
This commit is contained in:
Devansh Jethmalani 2022-10-14 17:52:39 +05:30 committed by GitHub
parent cf0bef6d5e
commit d27ea94884
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ const useBoundStore = create((set) => ({
}))
```
See [Splitting the store into separate slices](./typescript.md#slices-pattern) for how to define a store with separate slices.
See [Splitting the store into separate slices](./slices-pattern.md) for how to define a store with separate slices.
## Flux like patterns / "dispatching" actions

View File

@ -496,7 +496,7 @@ A more complete TypeScript guide is [here](docs/guides/typescript.md).
## Best practices
- You may wonder how to organize your code for better maintenance: [Splitting the store into separate slices](./docs/guides/typescript.md#slices-pattern).
- You may wonder how to organize your code for better maintenance: [Splitting the store into separate slices](./docs/guides/slices-pattern.md).
- Recommended usage for this unopinionated library: [Flux inspired practice](./docs/guides/flux-inspired-practice.md).
- [Calling actions outside a React event handler in pre React 18](./docs/guides/event-handler-in-pre-react-18.md).
- [Testing](./docs/guides/testing.mdx)