Daniel Williams

Results 542 comments of Daniel Williams

@andrestone @mohsinulhaq Storybook works with react native web prior to version 0.12.0 Version 0.12.0 of react native web removed deprecated components that we have been using (datetimepicker) even though it's...

@mohsinulhaq that really shouldn't be necessary if you are using react-native-web. What it sounds like is that you are running a web storybook and a react native storybook separately.

I'm not sure I understand correctly however if you see the link I commented above there is an example of storybook working via react-native web and it doesn't require @storybook/react....

@mohsinulhaq I see, well you might be able to get the Expo one working if you just downgrade the react-native-web dependency. Otherwise I'd be interested to see how this setup...

@mohsinulhaq thats very interesting I've not seen that approach before, thanks for sharing that 👍

@cmnstmntmn I just looked at it and I think that currently it would be difficult to do this, the only viable way would be to listen for the set background...

Ideally we should update the backgrounds addon to copy the updated behaviour on the web.

with react native cli you need to add the component you want to render to the app registry `AppRegistry.registerComponent(appName, () => App); ` normally you put `export {default} from "./storybook";`...

can you share more of your code otherwise its hard to say what the issue would be

Try setting inline imports to false in the metro config.