Browse Source

fix useTransition link (#4519)

main
lilac-ss 3 years ago
committed by GitHub
parent
commit
c623de4e62
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/blog/2022-03-29-react-v18.md

2
content/blog/2022-03-29-react-v18.md

@ -222,7 +222,7 @@ With Strict Mode in React 18, React will simulate unmounting and remounting the
#### useTransition {#usetransition} #### useTransition {#usetransition}
`useTransition` and `startTransition` let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results). [See docs here](/docs/react-reference.html#transitions) `useTransition` and `startTransition` let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results). [See docs here](/docs/hooks-reference.html#usetransition)
#### useDeferredValue {#usedeferredvalue} #### useDeferredValue {#usedeferredvalue}

Loading…
Cancel
Save