* Add useOptimistic API reference documentation
* Fix title
* Add working exmaple from form and updadd parameters
* Add updates to useOptimistic
* Add updates to useOptimistic
* Add updates to useOptimistic
---------
Co-authored-by: Matt Carroll <mattca@meta.com>
* Add Error Boundary to useTransition docs
* add Error Boundary to useTransition
* Use Canary
* Add Error Boundary to useTransition API docs
* Update src/components/MDX/Sandpack/Preview.tsx
Co-authored-by: Jan Kassens <jan@kassens.net>
* Update src/content/reference/react/useTransition.md
Co-authored-by: Luna <lunaleaps@gmail.com>
* Update src/content/reference/react/useTransition.md
Co-authored-by: Luna <lunaleaps@gmail.com>
* Add Error Boundary to useTransition docs
* add Error Boundary to useTransition
* Use Canary
* Add Error Boundary to useTransition API docs
* Update src/components/MDX/Sandpack/Preview.tsx
Co-authored-by: Jan Kassens <jan@kassens.net>
* Update src/content/reference/react/useTransition.md
Co-authored-by: Luna <lunaleaps@gmail.com>
* Update src/content/reference/react/useTransition.md
Co-authored-by: Luna <lunaleaps@gmail.com>
* Address comments and update usage example
* Address comments and update usage example
* Update src/content/reference/react/useTransition.md
Co-authored-by: Luna <lunaleaps@gmail.com>
---------
Co-authored-by: Jan Kassens <jan@kassens.net>
Co-authored-by: Luna <lunaleaps@gmail.com>
* [WIP] Add use hook API reference page
* [WIP] Update use hook API reference page based on feedback
* [WIP] use hook API ref doc: add browser API example
* [WIP] use hook API ref doc: add context, lib examples
* [WIP] use reference doc - incorporate all current feedback
* [WIP] use reference page fix typos
* use reference doc: address PR feedback from Luna, Sophia,Eli, and Lee
* Apply @harish-sethuraman's typo fixes from code review
Co-authored-by: Strek <ssharishkumar@gmail.com>
* use reference doc typo fixes
* use reference doc: update style to match other react.dev conventions
* minor fixes
* Remove client Promises, use canary labels
* Add use hook section to index, remove RSC section on components page
* Final edits
* Clarify use reference caveats
---------
Co-authored-by: Strek <ssharishkumar@gmail.com>
* Add basic reference pages for use client and server
I guess this turned into a bit more of an FAQ but I think it's useful to have this written down in a canonical place.
* Oops, push final tweaks