Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React version conflict #1072

Open
sheptang opened this issue Jul 20, 2021 · 0 comments
Open

React version conflict #1072

sheptang opened this issue Jul 20, 2021 · 0 comments

Comments

@sheptang
Copy link

Peer dependencies conflict with main React for the latest version. This causes problems on Server Side Rendering with ExpressJS.

Workarounds such as installing them anyways with --legacy-peer-deps or including those peer dependencies on React's package.json separately as "peerDependencies": { "react": "16.4.2", "react-dom": "16.4.2" }, do not solve the conflict issues for SSR practices.

Screenshot from 2021-07-20 08-32-01

Notice the 3rd article on the console output. As all of the hooks on React work just fine, it seems to me that it's a version conflict issue.
Screenshot from 2021-07-20 08-38-12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant