You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
I'm working on a create-react-app app and it says I have an outdated version of React. I made sure to run npm update and have checked the version of the react module and it's 15.6.0. The website is https://marcogreselin.com/ and the code in question is in this repo. What am I doing wrong?
The text was updated successfully, but these errors were encountered:
The extension's warning is correct, your page is loading two copies of React.
Following this diagnosis guide: #692
We can see that there are two React renderers:
Luckily, source maps are uploaded, making diagnosis much easier.
One way to find the ReactDOM modules is to search for __REACT_DEVTOOLS_GLOBAL_HOOK__.inject(, which shows two results:
By looking at the module ID comment that Webpack inserts at the top of each module, we can step through each module:
Module ID 242 -> 228 -> 180
Module ID 344 -> 340 -> 385 -> 141
We found the culprit, a third-party component react-typewriter links to an outdated React version using dependencies, it should be linked with peerDependencies instead
I'm working on a
create-react-app
app and it says I have an outdated version of React. I made sure to runnpm update
and have checked the version of thereact
module and it's 15.6.0. The website is https://marcogreselin.com/ and the code in question is in this repo. What am I doing wrong?The text was updated successfully, but these errors were encountered: