5 Commits

Author SHA1 Message Date
Blazej Sewera
820dbd35ea
Revise v4 migrations doc page (#1507)
* docs(#1220): rephrase introduction to v4 migration

* docs(#1220): rephrase create function migration

* docs(#1220): split migration for create function paragraph

* docs(#1220): rename page to migrating to v4

* docs(#1220): restructure create function migration section

* docs(#1220): restructure StateCreator migration section

* docs(#1220): restructure PartialState migration section

* docs(#1220): restructure and rephrase useStore function migration

* docs(#1220): restructure all sections and reformat UseBoundStore and createContext

* docs(#1220): fix applicable import for createContext

* docs(#1220): rephrase persist middleware migration

* docs(#1220): rephrase redux middleware migration

* docs(#1220): simplify persist function migration
2023-01-07 10:50:02 +09:00
Jacob Bergholtz
4ed81bc11b
Add usage with context to docs (#1291)
* docs: context guide proposal

* fix(docs): typo & omit comment

* fix(docs): remove horizontal rules

* fix(docs): add wiki link to DI

* fix(docs): format with prettier

* fix(docs): cases that model => where... is needed

* fix(docs): use sentence case

* fix(docs): omit quote block

* fix(docs): into "a" custom hook

* fix(docs): format with prettier

* fix(docs): sort broken nav indexes

* Update docs/guides/initialize-state-with-props.md

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>

* fix(docs): reintroduce React.createContext example

* scripts: escape quotes

* styles: run prettier

* fix(docs): omit 'React' from imports

* styles: run prettier

* styles: run prettier

Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
2022-09-18 09:01:06 +09:00
Danilo Britto
eea3944499
fix(docs): move gotchas to docs/getting-started section (#1283)
* fix(docs): move gotchas to docs/getting-started section

* Minor changes

* Move gotchas to docs/guides section

* Update updating nested state object values to cross-link gotchas

* Minor changes

* Clean up

* Add updating draft states to docs/integrations for immer middleware

* Minor changes

* Update updating draft states to add demos

* Minor changes

* Minor changes

* Minor fixes
2022-09-15 19:10:07 +09:00
Chris K
70820e349c
docs: updates to fix remaining broken links across docs site (#1257)
* docs: updates to fix remaining broken links across docs site

* docs: fix relative links to work in both github and docs site
2022-09-15 06:41:03 +09:00
Chris K
b85f6413f1
docs(issue-1215): restructure top level docs (#1222) 2022-08-25 19:34:32 +09:00