Skip to content

Fix RN w Storybook v6a and upg to v6b #616

@leotm

Description

@leotm

Context

Fix runtime error (crash)

Invariant Violation: ViewPropTypes has been removed from React Native. Migrate to ViewPropTypes exported from 'deprecated-react-native-prop-types'., js engine: hermes
hot-reload App -> StorybookUIRoot

Simulator Screen Shot - iPhone 13 - 2022-07-11 at 14 14 45

// TODO: Fix Storybook v6.0.1-alpha.7 crash and upgrade to v6.0.1-beta.6

storybook 6.3.1, 6.0.1-beta.6
https://github.com/storybookjs/react-native/blob/next-6.0/examples/native

storybook 6.3, addons 6.0.1-beta.5
https://github.com/dannyhw/react-native-storybook-starter

may need to downgrade current @next devdep addons from 6.5.x

Metadata

Metadata

Assignees

No one assigned

    Labels

    hermesJS engine for RN (optimised: TTI, size, RAM)new archFabric / TurboModules / JSI changesp: FacebookPartner: Metap: Storybookreact nativereact-native-community.github.io/upgrade-helperstorybookStorybook changes

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions