React 官方文档完全手册
首页 白天 夜间 BookChat 小程序 小程序 下载 阅读记录
  • 书签 我的书签
  • 添加书签 添加书签 移除书签 移除书签

第 3 组(static-compo – Render and C)

来源 Meta (react.dev) 浏览 3 扫码 打印 2026-11-12 10:14:36
  • static-components
  • unsupported-syntax
  • use-memo
  • Debugging and Troubleshooting
  • Rules of React
  • Components and Hooks must be pure
  • React calls Components and Hooks
  • Rules of Hooks
  • Server Components
  • Server Functions
  • Directives (2)
  • 'use client'
  • 'use client'·续
  • 'use server'
  • Legacy React APIs
  • Describing the UI
  • Children
  • Children·续
  • cloneElement
  • Component
  • Component·续1
  • Component·续2
  • Component·续3
  • createElement
  • createRef
  • forwardRef
  • isValidElement
  • PureComponent
  • Your First Component
  • Importing and Exporting Components
  • Writing Markup with JSX
  • JavaScript in JSX with Curly Braces
  • Passing Props to a Component
  • Passing Props to a Component·续
  • Conditional Rendering
  • Rendering Lists
  • Rendering Lists·续
  • Keeping Components Pure
  • Keeping Components Pure·续
  • Understanding Your UI as a Tree
  • Adding Interactivity
  • Adding Interactivity·续
  • Responding to Events
  • Responding to Events·续
  • State: A Component's Memory
  • State: A Component's Memory·续1
  • State: A Component's Memory·续2
  • State: A Component's Memory·续3
  • State: A Component's Memory·续4
  • Render and Commit
上一篇:
下一篇:
  • 书签
  • 添加书签 移除书签
  • 第 1 组(Quick Start – renderToStri)
    • Quick Start
    • 'Tutorial: Tic-Tac-Toe'
    • 'Tutorial: Tic-Tac-Toe'·续1
    • 'Tutorial: Tic-Tac-Toe'·续2
    • 'Tutorial: Tic-Tac-Toe'·续3
    • 'Tutorial: Tic-Tac-Toe'·续4
    • Thinking in React
    • Thinking in React·续
    • Installation
    • Creating a React App
    • Build a React app from Scratch
    • Add React to an Existing Project
    • Setup
    • Editor Setup
    • Using TypeScript
    • <img>
    • <link>
    • <meta>
    • <script>
    • <style>
    • <title>
    • React DOM APIs
    • browser
    • createPortal
    • flushSync
    • Yarn
    • preconnect
    • prefetchDNS
    • preinit
    • preinitModule
    • preload
    • preloadModule
    • Client React DOM APIs
    • createRoot
    • createRoot·续
    • hydrateRoot
    • hydrateRoot·续
    • Server React DOM APIs
    • React Compiler
    • renderToPipeableStream
    • renderToPipeableStream·续
    • renderToReadableStream
    • renderToReadableStream·续
    • renderToStaticMarkup
    • renderToString
  • 第 2 组(resume – set-state-in)
    • resume
    • resumeToPipeableStream
    • Static React DOM APIs
    • prerender
    • prerenderToNodeStream
    • resumeAndPrerender
    • Introduction
    • resumeAndPrerenderToNodeStream
    • Compiling Libraries
    • Configuration
    • compilationMode
    • gating
    • panicThreshold
    • target
    • Directives
    • use memo
    • use no memo
    • Installation (2)
    • React Performance tracks
    • React DevTools for agents
    • eslint-plugin-react-hooks
    • exhaustive-deps
    • rules-of-hooks
    • component-hook-factories
    • config
    • error-boundaries
    • gating (2)
    • globals
    • Incremental Adoption
    • immutability
    • incompatible-library
    • preserve-manual-memoization
    • purity
    • refs
    • set-state-in-effect
    • set-state-in-render
  • 第 3 组(static-compo – Render and C)
    • static-components
    • unsupported-syntax
    • use-memo
    • Debugging and Troubleshooting
    • Rules of React
    • Components and Hooks must be pure
    • React calls Components and Hooks
    • Rules of Hooks
    • Server Components
    • Server Functions
    • Directives (2)
    • 'use client'
    • 'use client'·续
    • 'use server'
    • Legacy React APIs
    • Describing the UI
    • Children
    • Children·续
    • cloneElement
    • Component
    • Component·续1
    • Component·续2
    • Component·续3
    • createElement
    • createRef
    • forwardRef
    • isValidElement
    • PureComponent
    • Your First Component
    • Importing and Exporting Components
    • Writing Markup with JSX
    • JavaScript in JSX with Curly Braces
    • Passing Props to a Component
    • Passing Props to a Component·续
    • Conditional Rendering
    • Rendering Lists
    • Rendering Lists·续
    • Keeping Components Pure
    • Keeping Components Pure·续
    • Understanding Your UI as a Tree
    • Adding Interactivity
    • Adding Interactivity·续
    • Responding to Events
    • Responding to Events·续
    • State: A Component's Memory
    • State: A Component's Memory·续1
    • State: A Component's Memory·续2
    • State: A Component's Memory·续3
    • State: A Component's Memory·续4
    • Render and Commit
  • 第 4 组(State as a S – useOptimisti)
    • State as a Snapshot
    • Queueing a Series of State Updates
    • Updating Objects in State
    • Updating Objects in State·续1
    • Updating Objects in State·续2
    • Updating Arrays in State
    • Updating Arrays in State·续1
    • Updating Arrays in State·续2
    • Managing State
    • Managing State·续
    • Reacting to Input with State
    • Reacting to Input with State·续
    • Choosing the State Structure
    • Choosing the State Structure·续1
    • Choosing the State Structure·续2
    • Choosing the State Structure·续3
    • Sharing State Between Components
    • Preserving and Resetting State
    • Preserving and Resetting State·续1
    • Preserving and Resetting State·续2
    • Extracting State Logic into a Reducer
    • Extracting State Logic into a Reducer·续1
    • Extracting State Logic into a Reducer·续2
    • Extracting State Logic into a Reducer·续3
    • Passing Data Deeply with Context
    • Passing Data Deeply with Context·续
    • Scaling Up with Reducer and Context
    • Scaling Up with Reducer and Context·续
    • Escape Hatches
    • Escape Hatches·续
    • 'Referencing Values with Refs'
    • 'Referencing Values with Refs'·续
    • 'Manipulating the DOM with Refs'
    • 'Manipulating the DOM with Refs'·续
    • 'Synchronizing with Effects'
    • 'Synchronizing with Effects'·续1
    • 'Synchronizing with Effects'·续2
    • 'Synchronizing with Effects'·续3
    • 'You Might Not Need an Effect'
    • 'You Might Not Need an Effect'·续1
    • 'You Might Not Need an Effect'·续2
    • 'You Might Not Need an Effect'·续3
    • 'Lifecycle of Reactive Effects'
    • 'Lifecycle of Reactive Effects'·续1
    • 'Lifecycle of Reactive Effects'·续2
    • 'Lifecycle of Reactive Effects'·续3
    • 'Lifecycle of Reactive Effects'·续4
    • 'Separating Events from Effects'
    • 'Separating Events from Effects'·续1
    • 'Separating Events from Effects'·续2
    • 'Removing Effect Dependencies'
    • 'Removing Effect Dependencies'·续1
    • 'Removing Effect Dependencies'·续2
    • 'Removing Effect Dependencies'·续3
    • 'Removing Effect Dependencies'·续4
    • 'Reusing Logic with Custom Hooks'
    • 'Reusing Logic with Custom Hooks'·续1
    • 'Reusing Logic with Custom Hooks'·续2
    • 'Reusing Logic with Custom Hooks'·续3
    • React Reference Overview
    • Built-in React Hooks
    • useActionState
    • useActionState·续1
    • useActionState·续2
    • useCallback
    • useCallback·续
    • useContext
    • useContext·续
    • useDebugValue
    • useDeferredValue
    • useDeferredValue·续
    • useEffect
    • useEffect·续1
    • useEffect·续2
    • useEffect·续3
    • useEffectEvent
    • useId
    • useImperativeHandle
    • useInsertionEffect
    • useLayoutEffect
    • useLayoutEffect·续
    • useMemo
    • useMemo·续1
    • useMemo·续2
    • useOptimistic
    • useOptimistic·续
  • 第 5 组(useReducer – <textarea>)
    • useReducer
    • useReducer·续
    • useRef
    • useState
    • useState·续1
    • useState·续2
    • useSyncExternalStore
    • useTransition
    • useTransition·续1
    • useTransition·续2
    • Built-in React Components
    • <Fragment> (<>...</>)
    • <Fragment> (<>...</>)·续
    • <Profiler>
    • <StrictMode>
    • <StrictMode>·续
    • <Activity>
    • <Activity>·续
    • Built-in React APIs
    • act
    • addTransitionType
    • cache
    • cache·续
    • cacheSignal
    • captureOwnerStack
    • createContext
    • lazy
    • memo
    • startTransition
    • use
    • use·续1
    • use·续2
    • experimental_taintObjectReference
    • experimental_taintUniqueValue
    • Built-in React DOM Hooks
    • useFormStatus
    • React DOM Components
    • React DOM Components·续
    • Common components (e.g. <div>)
    • Common components (e.g. <div>)·续1
    • Common components (e.g. <div>)·续2
    • Common components (e.g. <div>)·续3
    • Common components (e.g. <div>)·续4
    • Common components (e.g. <div>)·续5
    • <form>
    • <input>
    • <input>·续
    • <option>
    • <progress>
    • <select>
    • <textarea>
暂无相关搜索结果!

    本文档使用 WanXiangYunDang 构建

    展开/收起文章目录

    思维导图备注

    文章二维码

    手机扫一扫,轻松掌上读

    文档下载

    请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
    PDF文档 EPUB文档 MOBI文档

    微信小程序阅读

    BookChat 微信小程序阅读
    微信扫一扫,知识掌上学

    书签列表

      阅读记录

      阅读进度: 0.00% ( 0/0 ) 重置阅读进度