
useContext – React
React automatically re-renders all the children that use a particular context starting from the provider that receives a different value. The previous and the next values are compared with …
React Compiler – React
Learn what React Compiler does and how it automatically optimizes your React application by handling memoization for you, eliminating the need for manual useMemo, useCallback, and …
Children – React
In React, the children prop is considered an opaque data structure. This means that you shouldn’t rely on how it is structured. To transform, filter, or count children, you should use the Children …
<Suspense> – React
React includes under-the-hood optimizations like Streaming Server Rendering and Selective Hydration that are integrated with Suspense. Read an architectural overview and watch a …
'use no memo' directive – React
When a function contains "use no memo", the React Compiler will skip it entirely during optimization. This is useful as a temporary escape hatch when debugging or when dealing …
<script> – React
You can render <script> from any component and React will in certain cases place the corresponding DOM element in the document head and de-duplicate identical scripts.
useActionState – React
When used with a framework that supports React Server Components, useActionState lets you make forms interactive before JavaScript has executed on the client. When used without …
useId – React
Inside React, useId is generated from the “parent path” of the calling component. This is why, if the client and the server tree are the same, the “parent path” will match up regardless of …
React 19 アップグレードガイド
Apr 25, 2024 · React 19 にアップグレードする前に、問題点を見つけるためにまず React 18.3 にアップグレードすることをお勧めします。 18.3 における変更点については、 リリースノー …
Directives – React
React Compiler directives provide fine-grained control over which functions are optimized by the compiler. They are string literals placed at the beginning of a function body or at the top of a …