-
Notifications
You must be signed in to change notification settings - Fork 29.9k
[update example - with-apollo-and-redux] pin dependencies #3130
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
Conversation
|
Does the example work with v4? |
|
@timneutkens yep, next v4 requires react 16 |
| "graphql": "^0.9.3", | ||
| "isomorphic-fetch": "^2.2.1", | ||
| "next": "latest", | ||
| "next": "^4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then lets keep this latest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure. but when we get next 5 that might requires react 17, then we would need to do this again. But I think it's OK so users of this example would have to always use the latest React to play here
| "next": "^4", | ||
| "prop-types": "^15.5.8", | ||
| "react": "^15.5.4", | ||
| "react": "^16", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And make this ^16.0.0 for consistency
|
Thanks @liweinan0423! If you update the 2 comments I had I'll merge it in 🙌 |
timneutkens
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
the combination
next@latestandreact@15is not working anymore as the latest next version requires react 16. so we need to pin the dependencies to specific versions