It depends, if you are using this approach and having it in the same repo as the app you are planning to ship, then I would suggest doing something like this in your entry file:
const useStorybook = {set this in some config file} <Boolean>
const App = () => useStorybook ? <Storybook /> : <Application />
AppRegistry.registerComponent(appName, () => App);
Originally my thinking was to ship the ui-library as an NPM package and then installed in the app so the UI and the App could be developed in parallell.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Should we have the storybook as a separate repo or inside the same project? Because all stories.js will also bundle in the React Native App right?
same question here?
Same question here, were you able to find any way to resolve this?
It depends, if you are using this approach and having it in the same repo as the app you are planning to ship, then I would suggest doing something like this in your entry file:
Originally my thinking was to ship the ui-library as an NPM package and then installed in the app so the UI and the App could be developed in parallell.