Commit Graph

15 Commits

Author SHA1 Message Date
Soichiro Miki
55b9e04da0 Remove "canary: true" from useTransition in Sidebar (#6411) 2023-11-06 14:09:49 -08:00
Brian Johnson
81f15204af Adds Reference Overview Page (#6378)
* Adds landing page for reference section.)

* Updated hyperlinks.

* Fixes Legacy APIs link.

* Removes canary image from heading.
2023-10-30 17:43:07 -04:00
Kathryn Middleton
46b45fb873 Add useOptimistic Hook API reference documentation (#6377)
* 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>
2023-10-27 11:15:07 -07:00
Matt Carroll
4b333ca000 Add <form> Component reference documentation (#6312)
Co-authored-by: Luna <lunaleaps@gmail.com>
2023-10-26 15:22:37 -07:00
David McCabe
5e40d13bcd Add useFormState reference (#6338)
Add useFormState reference
2023-10-25 10:40:39 -07:00
Kathryn Middleton
63f9470249 Add Error Boundary to useTransition API docs (#6354)
* 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>
2023-10-24 14:26:01 -07:00
Matt Carroll
90ca701621 Add useFormStatus Hook API reference documentation (#6314)
Co-authored-by: Luna Wei <luwe@fb.com>
2023-10-17 15:33:17 -07:00
Sophie Alpert
f2c45ea17f Add labs icon to experimental APIs (#6346) 2023-10-09 11:57:24 -07:00
Sebastian Markbåge
9aa84b1922 Add Experimental Taint API Docs (#6337)
Co-authored-by: Matt Carroll <mattca@meta.com>
2023-10-06 14:39:04 -07:00
Matt Carroll
742d2bff8f Add use hook API reference page (#6177)
* [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>
2023-09-08 10:33:16 -07:00
Luna
7141306c90 Add cache API docs (#6240)
Co-authored-by: Ricky <rickhanlonii@gmail.com>
Co-authored-by: Luna Wei <luwe@fb.com>
Co-authored-by: Ricky Hanlon <rickhanlonii@gmail.com>
2023-09-06 10:50:03 -07:00
Ricky
ae06008d57 Add UI for canary releases (#6173)
* [WIP] Add UI for canary releases

* yellow

* Switch to icon and gray

* Wording, alignment, and rm flex

* Heading alignment
2023-08-10 17:10:58 -04:00
Sophie Alpert
292534e975 Add basic reference pages for use client and server (#5976)
* 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
2023-06-30 11:59:55 -07:00
Dan Abramov
67721a6f05 Reorder sections 2023-03-20 04:09:18 +00:00
Dan Abramov
dd65dcac3b Move beta to top level 2023-03-18 22:35:53 +00:00