Skip to content

Commit 47161d1

Browse files
authored
Merge pull request #245 from reactjs/sync-8c68ae8d
Sync with react.dev @ 8c68ae8
2 parents c1aa82f + 277932e commit 47161d1

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎src/content/reference/react-compiler/directives.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,4 @@ For specific issues with directives, see the troubleshooting sections in:
195195

196196
* [`compilationMode`](/reference/react-compiler/compilationMode) - Configure how the compiler chooses what to optimize
197197
* [`Configuration`](/reference/react-compiler/configuration) - Full compiler configuration options
198-
* [React Compiler documentation](https://react.dev/learn/react-compiler) - Getting started guide
198+
* [React Compiler documentation](/learn/react-compiler) - Getting started guide

‎src/content/reference/react/apis.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ In addition to [Hooks](/reference/react/hooks) and [Components](/reference/react
1414
* [`lazy`](/reference/react/lazy) lets you defer loading a component's code until it's rendered for the first time.
1515
* [`memo`](/reference/react/memo) lets your component skip re-renders with same props. Used with [`useMemo`](/reference/react/useMemo) and [`useCallback`.](/reference/react/useCallback)
1616
* [`startTransition`](/reference/react/startTransition) lets you mark a state update as non-urgent. Similar to [`useTransition`.](/reference/react/useTransition)
17+
* [`addTransitionType`](/reference/react/addTransitionType) lets you specify the cause of a Transition. Used with [`startTransition`](/reference/react/startTransition) and [`<ViewTransition>`.](/reference/react/ViewTransition)
1718
* [`act`](/reference/react/act) lets you wrap renders and interactions in tests to ensure updates have processed before making assertions.
1819
* [`cache`](/reference/react/cache) lets you cache the result of a data fetch or computation.
1920
* [`cacheSignal`](/reference/react/cacheSignal) lets you know when the `cache()` lifetime is over.

‎src/content/reference/react/components.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ React exposes a few built-in components that you can use in your JSX.
1717
* [`<Suspense>`](/reference/react/Suspense) lets you display a fallback while the child components are loading.
1818
* [`<StrictMode>`](/reference/react/StrictMode) enables extra development-only checks that help you find bugs early.
1919
* [`<Activity>`](/reference/react/Activity) lets you hide and restore the UI and internal state of its children.
20+
* [`<ViewTransition>`](/reference/react/ViewTransition) lets you animate a component tree with Transitions and Suspense.
2021

2122
---
2223

0 commit comments

Comments
 (0)