I am playing around with concurrent mode and get this error when calling useTransition. Has this function been removed or renamed?
React version: 0.0.0-experimental-7b84dbd16
Steps To Reproduce
- Use unstable_createRoot in index.js to enable concurrent mode
- import useTransition from react in App.js
- Try and call useTransition like this
const [startTransition, isPending] = useTransition({
timeoutMs: 3000,
});
Link to code example:
I don't have one
The current behavior


The expected behavior
I was trying to test transitions in concurrent mode so I would think it would just transition.