Skip to content

Update React Native peerDependency #1418

@Rovack

Description

@Rovack

It's been 2 months since React Native 0.44 was released, and they just now released stable version 0.46.
However, storybook/react-native's peerDependencies to this day remain "react-native": "0.27.0 - 0.43.x".

I don't know if there's anything that would actually prevent this module from working with React Native 0.45 or 0.46, but at the very least I've personally used it with 0.44.0, and it seems to work fine (granted, I can't be sure I've covered all cases).

Of course, this is only a peerDependency, and theoretically it shouldn't stop anyone from using Storybook with a newer version of React Native, but unfortunately that's not the case for any project still relying on shrinkwrap.
As it stands, shrinkwrap refuses to update as long as a peerDependency is unmet (see here and here), and it doesn't look like that's about to change anytime soon.

So, 2 months later, it might at least make sense to try updating the peerDependency to something like "0.27.0 - 0.44.x".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions