-
Notifications
You must be signed in to change notification settings - Fork 47.2k
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
Ship 15.4.0 #7770
Comments
I just published Installation
If you use snapshot testing:
Please report issues!There is a big change in how internals are organized. We are continuing to split React from ReactDOM internally, and in this release a bunch of internal modules has moved from If your package depends on React internal APIs, consider copying the relevant code in your project. React makes no guarantees that any imports from If you found an issue in a popular React-related library that breaks in 15.4.0, please post here so that we keep track of them. |
I'm getting:
|
If you didn't mean to install the RC please run:
We published RC4 as latest by mistake but it wasn't meant to be installed automatically. If you are trying out RC on purpose, please look at which library tries to import |
@gaearon I'm trying out RC on purpose. Thanks for the tip, the error is caused by react-hot-loader. |
RHL 1.x (which is the one relying on this internal module) has been unsupported for more than a year. Please migrate to 3.x if you'd like to keep using it. There are instructions linked from the first paragraph in its README. |
Hi @gaearon, I am currently on react@15.4.0-rc.3 react-dom@15.4.0-rc.3 react-test-renderer@15.4.0-rc.3 and jest@16.0.2 and when snapshot testing material-ui components with react-test-renderer I get the following error:
Any insights? Thanks. |
@thisbejim It's not a regression though, is it? Did it ever work before? @aweary Can you look at #7770 (comment) please? My intuition is that we support mock "DOM" refs but not |
@gaearon yupp, I can look into what it would take for implementing |
@thisbejim Would you be interested in fixing this? |
@gaearon I do have some work done towards this, just didn't have a chance to finish it last week. That said, if you want to work on this @thisbejim feel free to! 😄 |
@thisbejim just in case you missed it, we ended up concluding that supporting |
Thanks for the update @aweary, much appreciated. Update: For anyone else who has the |
I am encountering some issues with my react project using 15.4.0-rc.4 when trying to setup jest and enzyme. (More details here: stackOverflow Question ) Edit: fixed. Mostly merely dependency issues |
I have however found an issue with the library chai-enzyme It requires react/lib/ReactTestUtils (which now moved)
|
Please file it with that library. |
Reminder to whoever releases this: error code process. |
cc @aweary, @bgnorlov, @chenglou, @gaearon, @goatslacker, @hkal, @jedwards1211, @jessebeach, @keyanzhang, @mnpenner, @nhunzaker, @sebmarkbage – your changes are now shipped in React 15.4! https://facebook.github.io/react/blog/2016/11/16/react-v15.4.0.html |
This might be a little ways out, but going to start the process. We definitely want to run an RC here and push it through React Native. We'll want other people to play with it too. There's a big packaging change and it has potential to have issues.
The text was updated successfully, but these errors were encountered: