Skip to content

Commit

Permalink
Wrong link fix - #5770 (#5771)
Browse files Browse the repository at this point in the history
  • Loading branch information
LoyalPotato authored Mar 21, 2023
1 parent cbe2a26 commit 6b4aa49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react/startTransition.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function TabContainer() {

* `startTransition` does not provide a way to track whether a transition is pending. To show a pending indicator while the transition is ongoing, you need [`useTransition`](/reference/react/useTransition) instead.

* You can wrap an update into a transition only if you have access to the `set` function of that state. If you want to start a transition in response to some prop or a custom Hook return value, try [`useDeferredValue`](/reference/react/usedeferredvalue) instead.
* You can wrap an update into a transition only if you have access to the `set` function of that state. If you want to start a transition in response to some prop or a custom Hook return value, try [`useDeferredValue`](/reference/react/useDeferredValue) instead.

* The function you pass to `startTransition` must be synchronous. React immediately executes this function, marking all state updates that happen while it executes as transitions. If you try to perform more state updates later (for example, in a timeout), they won't be marked as transitions.

Expand Down

0 comments on commit 6b4aa49

Please sign in to comment.