Upgrading to React V16 throws error: this.updater.enqueueCallback is not a function
yarn add react@next react-dom@next
When clicking a button, dropdown etc. this.updater.enqueueCallback is not a function exception is thrown.
Console says the following:
The above error occurred in the Transition component

I have experienced the same issue, please follow https://github.com/reactjs/react-transition-group/issues/151
In case anyone else stumbles across this, the solution that worked for me was
node_modulespackage.json "resolutions": {
"react": "16.0.0",
"react-dom": "16.0.0"
},
yarn install againThis answer _is_ in the link provided above but it isn't clear what this link is actually referring to (there are several solutions mentioned)
I still get this error even after adding the suggested resolutions section on package.json. Any ideas?
Update: I got the error because I was on React 16.1.0. I rolled back to 16.0.0 and it's fine now. There's still a problem though, with upgrading react to the version I was in.
also try to update yarn for example I had the error with yarn 1.2.0 after the update to 1.2.1 it's working fine.
Yes but surely this means everyone on a project will have to do this ? Why not fix the issue
Most helpful comment
I have experienced the same issue, please follow https://github.com/reactjs/react-transition-group/issues/151