mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
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>
This commit is contained in:
@@ -10,6 +10,11 @@
|
||||
"title": "Hooks",
|
||||
"path": "/reference/react",
|
||||
"routes": [
|
||||
{
|
||||
"title": "use",
|
||||
"path": "/reference/react/use",
|
||||
"canary": true
|
||||
},
|
||||
{
|
||||
"title": "useCallback",
|
||||
"path": "/reference/react/useCallback"
|
||||
|
||||
Reference in New Issue
Block a user