-
Notifications
You must be signed in to change notification settings - Fork 23
Please update the dependency for React-Native 0.43.x #95
Comments
You're using an alpha version of react: I don't feel we can add a react alpha version into our version range. What do you think about this @mnmtanish ? |
@ndelangen Thanks for your reply. I'm using the latest React-Native (v0.43.x) which depends on Maybe we could modify the dependency of How about that? |
If you edit the version range yourself and re-install does it work? If we're compatible with this version of React, I see no problem in adding it to our version range. But if there's something we need to fix to support a alpha version, we can't just add it. |
@ndelangen yeah, we may end up making changes to storybook code to support alpha versions which may be unnecessary when the stable version comes out. @xareelee if it's okay, let's wait until an rc version comes out so it'll be stable enough. |
Got it. I'll try it by myself.
How do I do that? Do you mean forking this repo and using it as a private module? |
That's one way, you can also edit the installed package.. |
Did I do right? |
I upgraded React-Native from 0.42.0 to 0.43.2, and I encountered new test errors
Invariant Violation: addComponentAsRefTo(...)
:I found that I have two version of
react
in mynode_modules
according toyarn.lock
.And I found only storyshots depends on
react@^15.4.1
:Is the dependency necessary? Or could you update the dependency to latest react (
react@16.0.0
)?The text was updated successfully, but these errors were encountered: