addon-react-native-web
addon-react-native-web copied to clipboard
Build react-native-web projects in Storybook for React
### Describe the bug Storybook imports random files when used with `@storybook/addon-react-native-web`. This causes the build to fail. An example repository can be found [here](https://github.com/ChrisEdson/storybook-test) and the failing build [here](https://github.com/ChrisEdson/storybook-test/actions/runs/6943776140/job/18889561324)....
📦 Published PR as canary version: 0.0.24--canary.87.9abd28c.0 :sparkles: Test out this PR locally via: ```bash npm install @storybook/[email protected] # or yarn add @storybook/[email protected] ```
Running `@storybook/addon-react-native-web` via `"storybook:web": "storybook dev -p 6006 -c .storybook-web"` and `"build-storybook": "storybook --debug-webpack build -c .storybook-web"`. Getting errors from building files in node_modules. See attached screen shot as an...
### Describe the bug When running `build-storybook` to generate the react-native-web project, the process tends to error out when attempting to handle a module that uses platform specific js files....
Hello! it is possible to add support `react-native-postcss-transformer`? Thanks!
 ---- "@storybook/addon-essentials": "6.5.13", "@storybook/addon-links": "6.5.13", "@storybook/addon-ondevice-actions": "6.0.1-beta.10", "@storybook/addon-ondevice-backgrounds": "6.0.1-beta.10", "@storybook/addon-ondevice-controls": "6.0.1-beta.10", "@storybook/addon-ondevice-notes": "6.0.1-beta.10", "@storybook/react-native": "6.0.1-beta.10", "@storybook/addon-react-native-web": "0.0.19", "@storybook/react": "6.5.13", "@storybook/docs-tools": "6.5.13" ----- - .storybook main.js ``` const path =...
📦 Published PR as canary version: 0.0.25--canary.91.8bb606f.0 :sparkles: Test out this PR locally via: ```bash npm install @storybook/[email protected] # or yarn add @storybook/[email protected] ```
My React Native project is written in ReScript, and I'm compiling *.res files into *.mjs files. I configured the `addon-react-native-web` to my existing React Native project (native cli) by following...
I try to use it with skin in my components project but I got an error when I came to the web ```` Error: Cannot read properties of undefined (reading...
### Describe the bug Whenever I add `@storybook/addon-react-native-web` package to addons array, @storybook/test package stops working. When I comment out or remove @storybook/addon-react-native-web from addons array, the error is gone...