6 Commits

Author SHA1 Message Date
Chafic Najjar
eac9dad35b
Fix "previous" and "next" navigation links (#2777) 2024-10-08 07:11:45 -05:00
zc627788
df38aa8c5a
Fix document details (#1752)
export const useBoundStore = create((set) => ({
  count: 0,
  text: 'hello',
  inc: () => set((state) => ({ count: state.count + 1 })),
  setText: (text) => set({ text }),
})

example on this page is missing a trailing parenthesis
2023-04-17 11:01:56 +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
Fawaz Haroun
445e147478
fix(docs): Issue 1120 docs guides (#1247)
* docs: testing documentation review

* docs: auto-generated-selectors documentation review

* docs: auto-generated-selectors documentation review

* docs: flux-inspired-practices documentation review

* docs: flux-inspired-practices documentation review

* docs: flux-inspired-practices documentation review

* docs: immutable-state-and-merging documentation review

* docs: immutable-state-and-merging documentation review

* docs: event-handler-in-pre-react-18 documentation review

* docs: ran the yarn run prettier command

* review: reviewed documentation guides

* review: typo fixes and ran yarn run prettier

* review: change based on review comment

* review: change based on review comment

* review: change based on review comment

* review: made changes based on review

* ran yarn run prettier

* Update docs/guides/typescript.md

Co-authored-by: Devansh Jethmalani <jethmalani.devansh@gmail.com>

Co-authored-by: Devansh Jethmalani <jethmalani.devansh@gmail.com>
2022-09-02 07:54:27 +09:00
Fawaz Haroun
476a381df8
fix(docs): Issue 1120 docs guides (#1244)
* docs: testing documentation review

* docs: auto-generated-selectors documentation review

* docs: auto-generated-selectors documentation review

* docs: flux-inspired-practices documentation review

* docs: flux-inspired-practices documentation review

* docs: flux-inspired-practices documentation review

* docs: immutable-state-and-merging documentation review

* docs: immutable-state-and-merging documentation review

* docs: event-handler-in-pre-react-18 documentation review

* docs: ran the yarn run prettier command

* review: reviewed documentation guides

* review: typo fixes and ran yarn run prettier

* review: change based on review comment

* review: change based on review comment

* review: change based on review comment
2022-08-31 08:09:15 +09:00
Chris K
b85f6413f1
docs(issue-1215): restructure top level docs (#1222) 2022-08-25 19:34:32 +09:00