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

Storybook 8 is not supported by React Native integration #530

Open
V3RON opened this issue Nov 29, 2024 · 0 comments
Open

Storybook 8 is not supported by React Native integration #530

V3RON opened this issue Nov 29, 2024 · 0 comments

Comments

@V3RON
Copy link

V3RON commented Nov 29, 2024

Storybook 8 is supported by Loki for the web platform, thanks to updates introduced in #507. However, the React Native integration has not yet been updated to align with the new APIs.

Identified Issues:

  • storybook.raw() must be replaced with await __STORYBOOK_PREVIEW.extract().
  • configureStorybookReactNative should be called after view.getStorybookUI.
  • DevSettings.setHotLoadingEnabled(false); triggers a reload of the application, causing the "Loading bundle from..." toast message to be captured and displayed in screenshots, should be replaced with HMRClient.disable() and HMRClient.enable()

I made the necessary changes locally and successfully ran Loki.

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

1 participant