mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 20:23:08 +00:00
243 lines
6.6 KiB
JSON
243 lines
6.6 KiB
JSON
{
|
|
"title": "API Reference",
|
|
"heading": true,
|
|
"path": "/apis",
|
|
"routes": [
|
|
{
|
|
"heading": true,
|
|
"path": "",
|
|
"routes": [
|
|
{
|
|
"title": "React APIs",
|
|
"path": "/apis/react",
|
|
"routes": [
|
|
{
|
|
"title": "Children",
|
|
"path": "/apis/react/Children"
|
|
},
|
|
{
|
|
"title": "cloneElement",
|
|
"path": "/apis/react/cloneElement"
|
|
},
|
|
{
|
|
"title": "Component",
|
|
"path": "/apis/react/Component",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "createContext",
|
|
"path": "/apis/react/createContext"
|
|
},
|
|
{
|
|
"title": "createElement",
|
|
"path": "/apis/react/createElement"
|
|
},
|
|
{
|
|
"title": "createFactory",
|
|
"path": "/apis/react/createFactory"
|
|
},
|
|
{
|
|
"title": "createRef",
|
|
"path": "/apis/react/createRef",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "forwardRef",
|
|
"path": "/apis/react/forwardRef"
|
|
},
|
|
{
|
|
"title": "Fragment (<>...</>)",
|
|
"path": "/apis/react/Fragment"
|
|
},
|
|
{
|
|
"title": "isValidElement",
|
|
"path": "/apis/react/isValidElement"
|
|
},
|
|
{
|
|
"title": "lazy",
|
|
"path": "/apis/react/lazy"
|
|
},
|
|
{
|
|
"title": "memo",
|
|
"path": "/apis/react/memo"
|
|
},
|
|
{
|
|
"title": "PureComponent",
|
|
"path": "/apis/react/PureComponent",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "startTransition",
|
|
"path": "/apis/react/startTransition",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "StrictMode",
|
|
"path": "/apis/react/StrictMode",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "Suspense",
|
|
"path": "/apis/react/Suspense"
|
|
},
|
|
{
|
|
"title": "useCallback",
|
|
"path": "/apis/react/useCallback"
|
|
},
|
|
{
|
|
"title": "useContext",
|
|
"path": "/apis/react/useContext"
|
|
},
|
|
{
|
|
"title": "useDebugValue",
|
|
"path": "/apis/react/useDebugValue",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "useDeferredValue",
|
|
"path": "/apis/react/useDeferredValue",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "useEffect",
|
|
"path": "/apis/react/useEffect"
|
|
},
|
|
{
|
|
"title": "useEvent",
|
|
"path": "/apis/react/useEvent",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "useId",
|
|
"path": "/apis/react/useId"
|
|
},
|
|
{
|
|
"title": "useImperativeHandle",
|
|
"path": "/apis/react/useImperativeHandle"
|
|
},
|
|
{
|
|
"title": "useInsertionEffect",
|
|
"path": "/apis/react/useInsertionEffect",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "useLayoutEffect",
|
|
"path": "/apis/react/useLayoutEffect",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "useMemo",
|
|
"path": "/apis/react/useMemo"
|
|
},
|
|
{
|
|
"title": "useReducer",
|
|
"path": "/apis/react/useReducer"
|
|
},
|
|
{
|
|
"title": "useRef",
|
|
"path": "/apis/react/useRef"
|
|
},
|
|
{
|
|
"title": "useState",
|
|
"path": "/apis/react/useState"
|
|
},
|
|
{
|
|
"title": "useSyncExternalStore",
|
|
"path": "/apis/react/useSyncExternalStore",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "useTransition",
|
|
"path": "/apis/react/useTransition",
|
|
"wip": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "ReactDOM APIs",
|
|
"path": "/apis/react-dom",
|
|
"routes": [
|
|
{
|
|
"title": "createPortal",
|
|
"path": "/apis/react-dom/createPortal",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "findDOMNode",
|
|
"path": "/apis/react-dom/findDOMNode",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "flushSync",
|
|
"path": "/apis/react-dom/flushSync"
|
|
},
|
|
{
|
|
"title": "hydrate",
|
|
"path": "/apis/react-dom/hydrate"
|
|
},
|
|
{
|
|
"title": "render",
|
|
"path": "/apis/react-dom/render"
|
|
},
|
|
{
|
|
"title": "unmountComponentAtNode",
|
|
"path": "/apis/react-dom/unmountComponentAtNode",
|
|
"wip": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "ReactDOMClient APIs",
|
|
"path": "/apis/react-dom/client",
|
|
"routes": [
|
|
{
|
|
"title": "createRoot",
|
|
"path": "/apis/react-dom/client/createRoot"
|
|
},
|
|
{
|
|
"title": "hydrateRoot",
|
|
"path": "/apis/react-dom/client/hydrateRoot"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title": "ReactDOMServer APIs",
|
|
"path": "/apis/react-dom/server",
|
|
"routes": [
|
|
{
|
|
"title": "renderToNodeStream",
|
|
"path": "/apis/react-dom/server/renderToNodeStream",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "renderToPipeableStream",
|
|
"path": "/apis/react-dom/server/renderToPipeableStream",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "renderToReadableStream",
|
|
"path": "/apis/react-dom/server/renderToReadableStream",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "renderToStaticMarkup",
|
|
"path": "/apis/react-dom/server/renderToStaticMarkup",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "renderToStaticNodeStream",
|
|
"path": "/apis/react-dom/server/renderToStaticNodeStream",
|
|
"wip": true
|
|
},
|
|
{
|
|
"title": "renderToString",
|
|
"path": "/apis/react-dom/server/renderToString",
|
|
"wip": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|