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

Next major version #50

Open
xyc opened this issue Apr 9, 2018 · 4 comments
Open

Next major version #50

xyc opened this issue Apr 9, 2018 · 4 comments

Comments

@xyc
Copy link
Collaborator

xyc commented Apr 9, 2018

With the recent update of React: https://reactjs.org/blog/2018/03/29/react-v-16-3.html and updates from Chrome DevTools, it's time to update react-inspector to use the new context api and update it to match Chrome's changes.

Related issues:

^3.0.0 will support only react>=16.3.0
^2.0.0 supports older version of React.

@Hypnosphi
Copy link
Member

You can keep supporting earlier versions using create-react-context

@xyc
Copy link
Collaborator Author

xyc commented Apr 9, 2018

Yeah that's an option. But, create-react-context uses componentWillReceiveProps under the hood

@Hypnosphi
Copy link
Member

I think that's OK, the component using this method will only be rendered in <=16.2

@xyc
Copy link
Collaborator Author

xyc commented Apr 9, 2018

Make sense, I'll try it if it's stable enough for production

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

2 participants