react.dev
react.dev copied to clipboard
[Typo]: change info about startTransition, now can be used with async func
trafficstars
Summary
Documentation advises against using async functions inside startTransition. However, in the newest changelogs, that has changed, and we can now easily use async functions inside startTransition. Perhaps I misunderstood it.
Page
https://react.dev/reference/react/startTransition
Details
If you read the documentation on react-dev, you can find information about startTransition. However, when you check the changelog on the react GitHub, you will find information about adding an option to use async functions at.