* Update connect-to-state-with-url-hash.md
Resolved a few errors and type errors in the persist and create state with URL example:
1. createJsonStorage not being called in storageOptions resulting in a type error.
2. Correct hook not being exported
3. Moved the creation of initial state inline to get the correct types passed from create/persist.
4. Used state type as generic for persist.
* yarn prettier run
* Update docs/guides/connect-to-state-with-url-hash.md
Better name for state in setter
Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
* prettier run
---------
Co-authored-by: Danilo Britto <dbritto.dev@gmail.com>
Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
* 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>