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

can't see web in react native #2063

Closed
EasonZhao91 opened this issue Oct 17, 2017 · 12 comments
Closed

can't see web in react native #2063

EasonZhao91 opened this issue Oct 17, 2017 · 12 comments

Comments

@EasonZhao91
Copy link

image
I use it in react native but it doesn't work in web but is ok in simulator
image

@hellogerard
Copy link

I had this same issue. Upgrading to babel 6 fixed my problem. See #13 (comment)

@EasonZhao91
Copy link
Author

@hellogerard I try it but it doesn't work

@ghost
Copy link

ghost commented Oct 26, 2017

@zhaoheqi Read careful at this docs, hope this help: https://github.com/storybooks/storybook/tree/master/app/react-native#start-storybook

  • In react native app, we seems as can't see stories on web browsers. Only see list menu of stories.
  • You must run react native app by run: react-native run-<platform>.
  • Once your app is started, changing the selected story in web browser will update the story displayed within your mobile app.

@waltermvp
Copy link

@quyentranvan which do we run first?

npm run storybook or react-native run-<platform>.

@Hypnosphi
Copy link
Member

Hypnosphi commented Nov 27, 2017

@waltermvp It doesn't matter: they should run in parallel, in separate terminal tabs

@atinder
Copy link

atinder commented Dec 13, 2017

@Hypnosphi
the description on this page is little misleading

With Storybook for React Native you can design and develop individual React Native components without running your app.

@Hypnosphi
Copy link
Member

@atinder
Copy link

atinder commented Dec 13, 2017

but we do need to run emulator right?
Stories list is blank until I run emulator.
screen shot 2017-12-13 at 11 58 58 pm
Also preview is not available in browser. Need emulator running to preview changes.

@Hypnosphi
Copy link
Member

No, you can't view RN stories in desktop browser currently

@stale
Copy link

stale bot commented Jan 27, 2018

Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 60 days. Thanks!

@stale stale bot added the inactive label Jan 27, 2018
@stale
Copy link

stale bot commented Feb 11, 2018

Hey there, it's me again! I am going close this issue to help our maintainers focus on the current development roadmap instead. If the issue mentioned is still a concern, please open a new ticket and mention this old one. Cheers and thanks for using Storybook!

@swaroopa94
Copy link

@zhaoheqi Did you fixed the issue? I am also getting the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants