1120 lines
36 KiB
JSON
1120 lines
36 KiB
JSON
[
|
||
{
|
||
"text": "Learn React",
|
||
"zh": "学习 React",
|
||
"base": "/learn/",
|
||
"items": [
|
||
{
|
||
"text": "GET STARTED",
|
||
"zh": "起步",
|
||
"items": [
|
||
{
|
||
"text": "Quick Start",
|
||
"zh": "快速入门",
|
||
"link": "/learn",
|
||
"items": [
|
||
{
|
||
"text": "Tutorial: Tic-Tac-Toe",
|
||
"zh": "教程:井字棋游戏",
|
||
"link": "/learn/tutorial-tic-tac-toe"
|
||
},
|
||
{
|
||
"text": "Thinking in React",
|
||
"zh": "React 哲学",
|
||
"link": "/learn/thinking-in-react"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Installation",
|
||
"zh": "安装",
|
||
"link": "/learn/installation",
|
||
"items": [
|
||
{
|
||
"text": "Creating a React App",
|
||
"zh": "创建一个 React 应用",
|
||
"link": "/learn/creating-a-react-app"
|
||
},
|
||
{
|
||
"text": "Build a React App from Scratch",
|
||
"zh": "从零构建一个 React 应用",
|
||
"link": "/learn/build-a-react-app-from-scratch"
|
||
},
|
||
{
|
||
"text": "Add React to an Existing Project",
|
||
"zh": "将 React 添加到现有项目中",
|
||
"link": "/learn/add-react-to-an-existing-project"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Setup",
|
||
"zh": "配置",
|
||
"link": "/learn/setup",
|
||
"items": [
|
||
{
|
||
"text": "Editor Setup",
|
||
"zh": "编辑器设置",
|
||
"link": "/learn/editor-setup"
|
||
},
|
||
{
|
||
"text": "Using TypeScript",
|
||
"zh": "使用 TypeScript",
|
||
"link": "/learn/typescript"
|
||
},
|
||
{
|
||
"text": "React Developer Tools",
|
||
"zh": "React 开发者工具",
|
||
"link": "/learn/react-developer-tools"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "React Compiler",
|
||
"link": "/learn/react-compiler",
|
||
"items": [
|
||
{
|
||
"text": "Introduction",
|
||
"zh": "介绍",
|
||
"link": "/learn/react-compiler/introduction"
|
||
},
|
||
{
|
||
"text": "Installation",
|
||
"zh": "安装",
|
||
"link": "/learn/react-compiler/installation"
|
||
},
|
||
{
|
||
"text": "Incremental Adoption",
|
||
"zh": "逐步使用",
|
||
"link": "/learn/react-compiler/incremental-adoption"
|
||
},
|
||
{
|
||
"text": "Debugging and Troubleshooting",
|
||
"zh": "调试和故障排除",
|
||
"link": "/learn/react-compiler/debugging"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "LEARN REACT",
|
||
"zh": "学习 React",
|
||
"items": [
|
||
{
|
||
"text": "Describing the UI",
|
||
"zh": "描述 UI",
|
||
"link": "/learn/describing-the-ui",
|
||
"items": [
|
||
{
|
||
"text": "Your First Component",
|
||
"zh": "你的第一个组件",
|
||
"link": "/learn/your-first-component"
|
||
},
|
||
{
|
||
"text": "Importing and Exporting Components",
|
||
"zh": "组件的导入与导出",
|
||
"link": "/learn/importing-and-exporting-components"
|
||
},
|
||
{
|
||
"text": "Writing Markup with JSX",
|
||
"zh": "使用 JSX 书写标签语言",
|
||
"link": "/learn/writing-markup-with-jsx"
|
||
},
|
||
{
|
||
"text": "JavaScript in JSX with Curly Braces",
|
||
"zh": "在 JSX 中通过大括号使用 JavaScript",
|
||
"link": "/learn/javascript-in-jsx-with-curly-braces"
|
||
},
|
||
{
|
||
"text": "Passing Props to a Component",
|
||
"zh": "将 Props 传递给组件",
|
||
"link": "/learn/passing-props-to-a-component"
|
||
},
|
||
{
|
||
"text": "Conditional Rendering",
|
||
"zh": "条件渲染",
|
||
"link": "/learn/conditional-rendering"
|
||
},
|
||
{
|
||
"text": "Rendering Lists",
|
||
"zh": "渲染列表",
|
||
"link": "/learn/rendering-lists"
|
||
},
|
||
{
|
||
"text": "Keeping Components Pure",
|
||
"zh": "保持组件纯粹",
|
||
"link": "/learn/keeping-components-pure"
|
||
},
|
||
{
|
||
"text": "Your UI as a Tree",
|
||
"zh": "将 UI 视为树",
|
||
"link": "/learn/understanding-your-ui-as-a-tree"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Adding Interactivity",
|
||
"zh": "添加交互",
|
||
"link": "/learn/adding-interactivity",
|
||
"items": [
|
||
{
|
||
"text": "Responding to Events",
|
||
"zh": "响应事件",
|
||
"link": "/learn/responding-to-events"
|
||
},
|
||
{
|
||
"text": "State: A Component's Memory",
|
||
"zh": "state:组件的记忆",
|
||
"link": "/learn/state-a-components-memory"
|
||
},
|
||
{
|
||
"text": "Render and Commit",
|
||
"zh": "渲染和提交",
|
||
"link": "/learn/render-and-commit"
|
||
},
|
||
{
|
||
"text": "State as a Snapshot",
|
||
"zh": "state 如同一张快照",
|
||
"link": "/learn/state-as-a-snapshot"
|
||
},
|
||
{
|
||
"text": "Queueing a Series of State Updates",
|
||
"zh": "把一系列 state 更新加入队列",
|
||
"link": "/learn/queueing-a-series-of-state-updates"
|
||
},
|
||
{
|
||
"text": "Updating Objects in State",
|
||
"zh": "更新 state 中的对象",
|
||
"link": "/learn/updating-objects-in-state"
|
||
},
|
||
{
|
||
"text": "Updating Arrays in State",
|
||
"zh": "更新 state 中的数组",
|
||
"link": "/learn/updating-arrays-in-state"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Managing State",
|
||
"zh": "状态管理",
|
||
"link": "/learn/managing-state",
|
||
"items": [
|
||
{
|
||
"text": "Reacting to Input with State",
|
||
"zh": "用 State 响应输入",
|
||
"link": "/learn/reacting-to-input-with-state"
|
||
},
|
||
{
|
||
"text": "Choosing the State Structure",
|
||
"zh": "选择 State 结构",
|
||
"link": "/learn/choosing-the-state-structure"
|
||
},
|
||
{
|
||
"text": "Sharing State Between Components",
|
||
"zh": "在组件间共享状态",
|
||
"link": "/learn/sharing-state-between-components"
|
||
},
|
||
{
|
||
"text": "Preserving and Resetting State",
|
||
"zh": "对 state 进行保留和重置",
|
||
"link": "/learn/preserving-and-resetting-state"
|
||
},
|
||
{
|
||
"text": "Extracting State Logic into a Reducer",
|
||
"zh": "迁移状态逻辑至 Reducer 中",
|
||
"link": "/learn/extracting-state-logic-into-a-reducer"
|
||
},
|
||
{
|
||
"text": "Passing Data Deeply with Context",
|
||
"zh": "使用 Context 深层传递参数",
|
||
"link": "/learn/passing-data-deeply-with-context"
|
||
},
|
||
{
|
||
"text": "Scaling Up with Reducer and Context",
|
||
"zh": "使用 Reducer 和 Context 拓展你的应用",
|
||
"link": "/learn/scaling-up-with-reducer-and-context"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Escape Hatches",
|
||
"zh": "脱围机制",
|
||
"link": "/learn/escape-hatches",
|
||
"items": [
|
||
{
|
||
"text": "Referencing Values with Refs",
|
||
"zh": "使用 ref 引用值",
|
||
"link": "/learn/referencing-values-with-refs"
|
||
},
|
||
{
|
||
"text": "Manipulating the DOM with Refs",
|
||
"zh": "使用 ref 操作 DOM",
|
||
"link": "/learn/manipulating-the-dom-with-refs"
|
||
},
|
||
{
|
||
"text": "Synchronizing with Effects",
|
||
"zh": "使用 Effect 进行同步",
|
||
"link": "/learn/synchronizing-with-effects"
|
||
},
|
||
{
|
||
"text": "You Might Not Need an Effect",
|
||
"zh": "你可能不需要 Effect",
|
||
"link": "/learn/you-might-not-need-an-effect"
|
||
},
|
||
{
|
||
"text": "Lifecycle of Reactive Effects",
|
||
"zh": "响应式 Effect 的生命周期",
|
||
"link": "/learn/lifecycle-of-reactive-effects"
|
||
},
|
||
{
|
||
"text": "Separating Events from Effects",
|
||
"zh": "将事件从 Effect 中分开",
|
||
"link": "/learn/separating-events-from-effects"
|
||
},
|
||
{
|
||
"text": "Removing Effect Dependencies",
|
||
"zh": "移除 Effect 依赖",
|
||
"link": "/learn/removing-effect-dependencies"
|
||
},
|
||
{
|
||
"text": "Reusing Logic with Custom Hooks",
|
||
"zh": "使用自定义 Hook 复用逻辑",
|
||
"link": "/learn/reusing-logic-with-custom-hooks"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "API Reference",
|
||
"zh": "API 参考",
|
||
"base": "/reference/",
|
||
"items": [
|
||
{
|
||
"text": "[email protected]",
|
||
"zh": "[email protected]",
|
||
"items": [
|
||
{
|
||
"text": "Overview",
|
||
"zh": "总览",
|
||
"link": "/reference/react"
|
||
},
|
||
{
|
||
"text": "Hooks",
|
||
"zh": "Hook",
|
||
"link": "/reference/react/hooks",
|
||
"items": [
|
||
{
|
||
"text": "useActionState",
|
||
"link": "/reference/react/useActionState"
|
||
},
|
||
{
|
||
"text": "useCallback",
|
||
"link": "/reference/react/useCallback"
|
||
},
|
||
{
|
||
"text": "useContext",
|
||
"link": "/reference/react/useContext"
|
||
},
|
||
{
|
||
"text": "useDebugValue",
|
||
"link": "/reference/react/useDebugValue"
|
||
},
|
||
{
|
||
"text": "useDeferredValue",
|
||
"link": "/reference/react/useDeferredValue"
|
||
},
|
||
{
|
||
"text": "useEffect",
|
||
"link": "/reference/react/useEffect"
|
||
},
|
||
{
|
||
"text": "useEffectEvent",
|
||
"link": "/reference/react/useEffectEvent"
|
||
},
|
||
{
|
||
"text": "useId",
|
||
"link": "/reference/react/useId"
|
||
},
|
||
{
|
||
"text": "useImperativeHandle",
|
||
"link": "/reference/react/useImperativeHandle"
|
||
},
|
||
{
|
||
"text": "useInsertionEffect",
|
||
"link": "/reference/react/useInsertionEffect"
|
||
},
|
||
{
|
||
"text": "useLayoutEffect",
|
||
"link": "/reference/react/useLayoutEffect"
|
||
},
|
||
{
|
||
"text": "useMemo",
|
||
"link": "/reference/react/useMemo"
|
||
},
|
||
{
|
||
"text": "useOptimistic",
|
||
"link": "/reference/react/useOptimistic"
|
||
},
|
||
{
|
||
"text": "useReducer",
|
||
"link": "/reference/react/useReducer"
|
||
},
|
||
{
|
||
"text": "useRef",
|
||
"link": "/reference/react/useRef"
|
||
},
|
||
{
|
||
"text": "useState",
|
||
"link": "/reference/react/useState"
|
||
},
|
||
{
|
||
"text": "useSyncExternalStore",
|
||
"link": "/reference/react/useSyncExternalStore"
|
||
},
|
||
{
|
||
"text": "useTransition",
|
||
"link": "/reference/react/useTransition"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Components",
|
||
"zh": "组件",
|
||
"link": "/reference/react/components",
|
||
"items": [
|
||
{
|
||
"text": "<Fragment> (<>)",
|
||
"link": "/reference/react/Fragment"
|
||
},
|
||
{
|
||
"text": "<Profiler>",
|
||
"link": "/reference/react/Profiler"
|
||
},
|
||
{
|
||
"text": "<StrictMode>",
|
||
"link": "/reference/react/StrictMode"
|
||
},
|
||
{
|
||
"text": "<Suspense>",
|
||
"link": "/reference/react/Suspense"
|
||
},
|
||
{
|
||
"text": "<Activity>",
|
||
"link": "/reference/react/Activity"
|
||
},
|
||
{
|
||
"text": "<ViewTransition>",
|
||
"link": "/reference/react/ViewTransition"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "APIs",
|
||
"zh": "API",
|
||
"link": "/reference/react/apis",
|
||
"items": [
|
||
{
|
||
"text": "act",
|
||
"link": "/reference/react/act"
|
||
},
|
||
{
|
||
"text": "addTransitionType",
|
||
"link": "/reference/react/addTransitionType"
|
||
},
|
||
{
|
||
"text": "cache",
|
||
"link": "/reference/react/cache"
|
||
},
|
||
{
|
||
"text": "cacheSignal",
|
||
"link": "/reference/react/cacheSignal"
|
||
},
|
||
{
|
||
"text": "captureOwnerStack",
|
||
"link": "/reference/react/captureOwnerStack"
|
||
},
|
||
{
|
||
"text": "createContext",
|
||
"link": "/reference/react/createContext"
|
||
},
|
||
{
|
||
"text": "lazy",
|
||
"link": "/reference/react/lazy"
|
||
},
|
||
{
|
||
"text": "memo",
|
||
"link": "/reference/react/memo"
|
||
},
|
||
{
|
||
"text": "startTransition",
|
||
"link": "/reference/react/startTransition"
|
||
},
|
||
{
|
||
"text": "use",
|
||
"link": "/reference/react/use"
|
||
},
|
||
{
|
||
"text": "experimental_taintObjectReference",
|
||
"link": "/reference/react/experimental_taintObjectReference",
|
||
"version": "experimental"
|
||
},
|
||
{
|
||
"text": "experimental_taintUniqueValue",
|
||
"link": "/reference/react/experimental_taintUniqueValue",
|
||
"version": "experimental"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "[email protected]",
|
||
"zh": "[email protected]",
|
||
"items": [
|
||
{
|
||
"text": "Hooks",
|
||
"zh": "Hook",
|
||
"link": "/reference/react-dom/hooks",
|
||
"items": [
|
||
{
|
||
"text": "useFormStatus",
|
||
"link": "/reference/react-dom/hooks/useFormStatus"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Components",
|
||
"zh": "组件",
|
||
"link": "/reference/react-dom/components",
|
||
"items": [
|
||
{
|
||
"text": "Common (e.g. <div>)",
|
||
"link": "/reference/react-dom/components/common"
|
||
},
|
||
{
|
||
"text": "<form>",
|
||
"link": "/reference/react-dom/components/form"
|
||
},
|
||
{
|
||
"text": "<input>",
|
||
"link": "/reference/react-dom/components/input"
|
||
},
|
||
{
|
||
"text": "<option>",
|
||
"link": "/reference/react-dom/components/option"
|
||
},
|
||
{
|
||
"text": "<progress>",
|
||
"link": "/reference/react-dom/components/progress"
|
||
},
|
||
{
|
||
"text": "<select>",
|
||
"link": "/reference/react-dom/components/select"
|
||
},
|
||
{
|
||
"text": "<textarea>",
|
||
"link": "/reference/react-dom/components/textarea"
|
||
},
|
||
{
|
||
"text": "<img>",
|
||
"link": "/reference/react-dom/components/img"
|
||
},
|
||
{
|
||
"text": "<link>",
|
||
"link": "/reference/react-dom/components/link"
|
||
},
|
||
{
|
||
"text": "<meta>",
|
||
"link": "/reference/react-dom/components/meta"
|
||
},
|
||
{
|
||
"text": "<script>",
|
||
"link": "/reference/react-dom/components/script"
|
||
},
|
||
{
|
||
"text": "<style>",
|
||
"link": "/reference/react-dom/components/style"
|
||
},
|
||
{
|
||
"text": "<title>",
|
||
"link": "/reference/react-dom/components/title"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "APIs",
|
||
"zh": "API",
|
||
"link": "/reference/react-dom",
|
||
"items": [
|
||
{
|
||
"text": "browser",
|
||
"link": "/reference/react-dom/browser"
|
||
},
|
||
{
|
||
"text": "createPortal",
|
||
"link": "/reference/react-dom/createPortal"
|
||
},
|
||
{
|
||
"text": "flushSync",
|
||
"link": "/reference/react-dom/flushSync"
|
||
},
|
||
{
|
||
"text": "requestFormReset",
|
||
"link": "/reference/react-dom/requestFormReset"
|
||
},
|
||
{
|
||
"text": "preconnect",
|
||
"link": "/reference/react-dom/preconnect"
|
||
},
|
||
{
|
||
"text": "prefetchDNS",
|
||
"link": "/reference/react-dom/prefetchDNS"
|
||
},
|
||
{
|
||
"text": "preinit",
|
||
"link": "/reference/react-dom/preinit"
|
||
},
|
||
{
|
||
"text": "preinitModule",
|
||
"link": "/reference/react-dom/preinitModule"
|
||
},
|
||
{
|
||
"text": "preload",
|
||
"link": "/reference/react-dom/preload"
|
||
},
|
||
{
|
||
"text": "preloadModule",
|
||
"link": "/reference/react-dom/preloadModule"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Client APIs",
|
||
"zh": "客户端 API",
|
||
"link": "/reference/react-dom/client",
|
||
"items": [
|
||
{
|
||
"text": "createRoot",
|
||
"link": "/reference/react-dom/client/createRoot"
|
||
},
|
||
{
|
||
"text": "hydrateRoot",
|
||
"link": "/reference/react-dom/client/hydrateRoot"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Server APIs",
|
||
"zh": "服务端 API",
|
||
"link": "/reference/react-dom/server",
|
||
"items": [
|
||
{
|
||
"text": "renderToPipeableStream",
|
||
"link": "/reference/react-dom/server/renderToPipeableStream"
|
||
},
|
||
{
|
||
"text": "renderToReadableStream",
|
||
"link": "/reference/react-dom/server/renderToReadableStream"
|
||
},
|
||
{
|
||
"text": "renderToStaticMarkup",
|
||
"link": "/reference/react-dom/server/renderToStaticMarkup"
|
||
},
|
||
{
|
||
"text": "renderToString",
|
||
"link": "/reference/react-dom/server/renderToString"
|
||
},
|
||
{
|
||
"text": "resume",
|
||
"link": "/reference/react-dom/server/resume"
|
||
},
|
||
{
|
||
"text": "resumeToPipeableStream",
|
||
"link": "/reference/react-dom/server/resumeToPipeableStream"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Static APIs",
|
||
"link": "/reference/react-dom/static",
|
||
"items": [
|
||
{
|
||
"text": "prerender",
|
||
"link": "/reference/react-dom/static/prerender"
|
||
},
|
||
{
|
||
"text": "prerenderToNodeStream",
|
||
"link": "/reference/react-dom/static/prerenderToNodeStream"
|
||
},
|
||
{
|
||
"text": "resumeAndPrerender",
|
||
"link": "/reference/react-dom/static/resumeAndPrerender"
|
||
},
|
||
{
|
||
"text": "resumeAndPrerenderToNodeStream",
|
||
"link": "/reference/react-dom/static/resumeAndPrerenderToNodeStream"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "React Compiler",
|
||
"zh": "React Compiler",
|
||
"items": [
|
||
{
|
||
"text": "Configuration",
|
||
"zh": "配置",
|
||
"link": "/reference/react-compiler/configuration",
|
||
"items": [
|
||
{
|
||
"text": "compilationMode",
|
||
"link": "/reference/react-compiler/compilationMode"
|
||
},
|
||
{
|
||
"text": "gating",
|
||
"link": "/reference/react-compiler/gating"
|
||
},
|
||
{
|
||
"text": "logger",
|
||
"link": "/reference/react-compiler/logger"
|
||
},
|
||
{
|
||
"text": "panicThreshold",
|
||
"link": "/reference/react-compiler/panicThreshold"
|
||
},
|
||
{
|
||
"text": "target",
|
||
"link": "/reference/react-compiler/target"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Directives",
|
||
"zh": "指令",
|
||
"link": "/reference/react-compiler/directives",
|
||
"items": [
|
||
{
|
||
"text": "\"use memo\"",
|
||
"link": "/reference/react-compiler/directives/use-memo"
|
||
},
|
||
{
|
||
"text": "\"use no memo\"",
|
||
"link": "/reference/react-compiler/directives/use-no-memo"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Compiling Libraries",
|
||
"link": "/reference/react-compiler/compiling-libraries"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "React DevTools",
|
||
"zh": "React DevTools",
|
||
"items": [
|
||
{
|
||
"text": "React Performance tracks",
|
||
"link": "/reference/dev-tools/react-performance-tracks"
|
||
},
|
||
{
|
||
"text": "React DevTools for agents",
|
||
"link": "/reference/dev-tools/react-devtools-cdt-mcp",
|
||
"version": "experimental"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "eslint-plugin-react-hooks",
|
||
"zh": "eslint-plugin-react-hooks",
|
||
"items": [
|
||
{
|
||
"text": "Lints",
|
||
"link": "/reference/eslint-plugin-react-hooks",
|
||
"items": [
|
||
{
|
||
"text": "exhaustive-deps",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/exhaustive-deps"
|
||
},
|
||
{
|
||
"text": "rules-of-hooks",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/rules-of-hooks"
|
||
},
|
||
{
|
||
"text": "component-hook-factories",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/component-hook-factories"
|
||
},
|
||
{
|
||
"text": "config",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/config"
|
||
},
|
||
{
|
||
"text": "error-boundaries",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/error-boundaries"
|
||
},
|
||
{
|
||
"text": "gating",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/gating"
|
||
},
|
||
{
|
||
"text": "globals",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/globals"
|
||
},
|
||
{
|
||
"text": "immutability",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/immutability"
|
||
},
|
||
{
|
||
"text": "incompatible-library",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/incompatible-library"
|
||
},
|
||
{
|
||
"text": "preserve-manual-memoization",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/preserve-manual-memoization"
|
||
},
|
||
{
|
||
"text": "purity",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/purity"
|
||
},
|
||
{
|
||
"text": "refs",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/refs"
|
||
},
|
||
{
|
||
"text": "set-state-in-effect",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/set-state-in-effect"
|
||
},
|
||
{
|
||
"text": "set-state-in-render",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/set-state-in-render"
|
||
},
|
||
{
|
||
"text": "static-components",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/static-components"
|
||
},
|
||
{
|
||
"text": "unsupported-syntax",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/unsupported-syntax"
|
||
},
|
||
{
|
||
"text": "use-memo",
|
||
"link": "/reference/eslint-plugin-react-hooks/lints/use-memo"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Rules of React",
|
||
"zh": "React 规则",
|
||
"items": [
|
||
{
|
||
"text": "Overview",
|
||
"zh": "概述",
|
||
"link": "/reference/rules",
|
||
"items": [
|
||
{
|
||
"text": "Components and Hooks must be pure",
|
||
"zh": "组件和 Hook 必须是纯粹的",
|
||
"link": "/reference/rules/components-and-hooks-must-be-pure"
|
||
},
|
||
{
|
||
"text": "React calls Components and Hooks",
|
||
"zh": "React 调用组件和 Hook",
|
||
"link": "/reference/rules/react-calls-components-and-hooks"
|
||
},
|
||
{
|
||
"text": "Rules of Hooks",
|
||
"zh": "Hook 的规则",
|
||
"link": "/reference/rules/rules-of-hooks"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "React Server Components",
|
||
"zh": "React 服务器组件",
|
||
"items": [
|
||
{
|
||
"text": "Server Components",
|
||
"zh": "服务器组件",
|
||
"link": "/reference/rsc/server-components"
|
||
},
|
||
{
|
||
"text": "Server Functions",
|
||
"link": "/reference/rsc/server-functions"
|
||
},
|
||
{
|
||
"text": "Directives",
|
||
"zh": "指令符",
|
||
"link": "/reference/rsc/directives",
|
||
"items": [
|
||
{
|
||
"text": "'use client'",
|
||
"link": "/reference/rsc/use-client"
|
||
},
|
||
{
|
||
"text": "'use server'",
|
||
"link": "/reference/rsc/use-server"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Legacy APIs",
|
||
"zh": "过时的 API",
|
||
"items": [
|
||
{
|
||
"text": "Legacy React APIs",
|
||
"zh": "过时的 React API",
|
||
"link": "/reference/react/legacy",
|
||
"items": [
|
||
{
|
||
"text": "Children",
|
||
"link": "/reference/react/Children"
|
||
},
|
||
{
|
||
"text": "cloneElement",
|
||
"link": "/reference/react/cloneElement"
|
||
},
|
||
{
|
||
"text": "Component",
|
||
"link": "/reference/react/Component"
|
||
},
|
||
{
|
||
"text": "createElement",
|
||
"link": "/reference/react/createElement"
|
||
},
|
||
{
|
||
"text": "createRef",
|
||
"link": "/reference/react/createRef"
|
||
},
|
||
{
|
||
"text": "forwardRef",
|
||
"link": "/reference/react/forwardRef"
|
||
},
|
||
{
|
||
"text": "isValidElement",
|
||
"link": "/reference/react/isValidElement"
|
||
},
|
||
{
|
||
"text": "PureComponent",
|
||
"link": "/reference/react/PureComponent"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Community",
|
||
"zh": "社区",
|
||
"base": "/community/",
|
||
"items": [
|
||
{
|
||
"text": "GET INVOLVED",
|
||
"zh": "参与贡献",
|
||
"items": [
|
||
{
|
||
"text": "Community",
|
||
"zh": "社区",
|
||
"link": "/community",
|
||
"items": [
|
||
{
|
||
"text": "React Conferences",
|
||
"zh": "React Conf",
|
||
"link": "/community/conferences"
|
||
},
|
||
{
|
||
"text": "React Meetups",
|
||
"zh": "React 见面会",
|
||
"link": "/community/meetups"
|
||
},
|
||
{
|
||
"text": "React Videos",
|
||
"zh": "React 视频",
|
||
"link": "/community/videos"
|
||
},
|
||
{
|
||
"text": "Meet the Team",
|
||
"zh": "React 团队",
|
||
"link": "/community/team"
|
||
},
|
||
{
|
||
"text": "Docs Contributors",
|
||
"zh": "文档贡献者",
|
||
"link": "/community/docs-contributors"
|
||
},
|
||
{
|
||
"text": "Translations",
|
||
"zh": "翻译",
|
||
"link": "/community/translations"
|
||
},
|
||
{
|
||
"text": "Acknowledgements",
|
||
"zh": "鸣谢",
|
||
"link": "/community/acknowledgements"
|
||
},
|
||
{
|
||
"text": "Versioning Policy",
|
||
"zh": "版本策略",
|
||
"link": "/community/versioning-policy"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"text": "Blog",
|
||
"zh": "博客",
|
||
"base": "/blog/",
|
||
"items": [
|
||
{
|
||
"text": "STAY INFORMED",
|
||
"zh": "时刻了解最新动态",
|
||
"items": [
|
||
{
|
||
"text": "Blog",
|
||
"zh": "博客",
|
||
"link": "/blog",
|
||
"items": [
|
||
{
|
||
"text": "React 19.3",
|
||
"link": "/blog/2026/09/09/react-19-3"
|
||
},
|
||
{
|
||
"text": "The React Foundation: A New Home for React Hosted by the Linux Foundation",
|
||
"link": "/blog/2026/02/24/the-react-foundation"
|
||
},
|
||
{
|
||
"text": "Denial of Service and Source Code Exposure in React Server Components",
|
||
"zh": "React 服务器组件中的拒绝服务和源代码泄露",
|
||
"link": "/blog/2025/12/11/denial-of-service-and-source-code-exposure-in-react-server-components"
|
||
},
|
||
{
|
||
"text": "Critical Security Vulnerability in React Server Components",
|
||
"zh": "React 服务器组件中的严重安全漏洞",
|
||
"link": "/blog/2025/12/03/critical-security-vulnerability-in-react-server-components"
|
||
},
|
||
{
|
||
"text": "React Conf 2025 Recap",
|
||
"zh": "2025 年 React 大会回顾",
|
||
"link": "/blog/2025/10/16/react-conf-2025-recap"
|
||
},
|
||
{
|
||
"text": "React Compiler v1.0",
|
||
"link": "/blog/2025/10/07/react-compiler-1"
|
||
},
|
||
{
|
||
"text": "Introducing the React Foundation",
|
||
"zh": "介绍 React 基金会",
|
||
"link": "/blog/2025/10/07/introducing-the-react-foundation"
|
||
},
|
||
{
|
||
"text": "React 19.2",
|
||
"link": "/blog/2025/10/01/react-19-2"
|
||
},
|
||
{
|
||
"text": "React Labs: View Transitions, Activity, and more",
|
||
"link": "/blog/2025/04/23/react-labs-view-transitions-activity-and-more"
|
||
},
|
||
{
|
||
"text": "Sunsetting Create React App",
|
||
"zh": "停止使用 Create React App",
|
||
"link": "/blog/2025/02/14/sunsetting-create-react-app"
|
||
},
|
||
{
|
||
"text": "React 19",
|
||
"link": "/blog/2024/12/05/react-19"
|
||
},
|
||
{
|
||
"text": "React Compiler Beta Release and Roadmap",
|
||
"zh": "React Compiler 发布 Beta 版本以及路线图",
|
||
"link": "/blog/2024/10/21/react-compiler-beta-release"
|
||
},
|
||
{
|
||
"text": "React Conf 2024 Recap",
|
||
"zh": "回顾 React Conf 2024",
|
||
"link": "/blog/2024/05/22/react-conf-2024-recap"
|
||
},
|
||
{
|
||
"text": "React 19 RC",
|
||
"link": "/blog/2024/04/25/react-19"
|
||
},
|
||
{
|
||
"text": "React 19 RC Upgrade Guide",
|
||
"zh": "React 19 RC 升级指南",
|
||
"link": "/blog/2024/04/25/react-19-upgrade-guide"
|
||
},
|
||
{
|
||
"text": "React Labs: What We've Been Working On – February 2024",
|
||
"zh": "React Labs:我们正在努力的方向——2024 年 2 月",
|
||
"link": "/blog/2024/02/15/react-labs-what-we-have-been-working-on-february-2024"
|
||
},
|
||
{
|
||
"text": "React Canaries: Enabling Incremental Feature Rollout Outside Meta",
|
||
"zh": "React Canaries:在 Meta 之外逐步推出新功能",
|
||
"link": "/blog/2023/05/03/react-canaries"
|
||
},
|
||
{
|
||
"text": "React Labs: What We've Been Working On – March 2023",
|
||
"zh": "React Labs:我们正在努力的方向——2023 年 3 月",
|
||
"link": "/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023"
|
||
},
|
||
{
|
||
"text": "Introducing react.dev",
|
||
"zh": "介绍 react.dev",
|
||
"link": "/blog/2023/03/16/introducing-react-dev"
|
||
},
|
||
{
|
||
"text": "React Labs: What We've Been Working On – June 2022",
|
||
"zh": "React Labs:我们正在努力的方向——2022 年 6 月",
|
||
"link": "/blog/2022/06/15/react-labs-what-we-have-been-working-on-june-2022"
|
||
},
|
||
{
|
||
"text": "React v18.0",
|
||
"link": "/blog/2022/03/29/react-v18"
|
||
},
|
||
{
|
||
"text": "How to Upgrade to React 18",
|
||
"zh": "如何升级到 React 18",
|
||
"link": "/blog/2022/03/08/react-18-upgrade-guide"
|
||
},
|
||
{
|
||
"text": "React Conf 2021 Recap",
|
||
"zh": "回顾 React Conf 2021",
|
||
"link": "/blog/2021/12/17/react-conf-2021-recap"
|
||
},
|
||
{
|
||
"text": "The Plan for React 18",
|
||
"zh": "React 18 的有关计划",
|
||
"link": "/blog/2021/06/08/the-plan-for-react-18"
|
||
},
|
||
{
|
||
"text": "Introducing Server Components",
|
||
"zh": "介绍服务器组件",
|
||
"link": "/blog/2020/12/21/data-fetching-with-react-server-components"
|
||
},
|
||
{
|
||
"text": "Older posts",
|
||
"zh": "更早的博客",
|
||
"link": "https://reactjs.org/blog/all.html"
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
]
|