-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
React native support #175
Comments
@tonyxiao it's not as complicated as one would think :) With the Mantra module system, we should be able to just replace the preview module and use it to send/receive messages with a react-native app. We're still only planning this feature so can't say anything for now. We'll notify when we have a working POC. |
Most probably in this week. |
Is there a status report on this? Just decided to start using Storybook for our web app and we'd love to use it for native too! (Would totally devote some dev hours to this if it were a relatively short-term goal) |
@tonyxiao @j6k4m8 I'm happy to share with you my attempt to solving this react-native/web gap with my React Native for Web Starter. In a nutshell, I plan on developing a webapp and later on launch a v2, native, as it may need depth sensors. |
@grabcode awesome. At first glance it seems to render native components into web browser? |
That is what it does mate. Check it out and contribute! |
@mnmtanish @arunoda Any update on this issue? Are you looking for help? |
@tonyxiao as promised earlier, here's the POC. It works but need to jump through a few hoops. We still have some major issues to fix, write docs, contributor guides, etc. before announcing it. Check these repos and issues but please note that it's possible that it may change dramatically over following few days:
If you really want to try it out right now:
Enable Remote JS Debugging or it won't work for now (storybook-eol/react-native-storybook#3). And it only works on OSX with the iOS simulator. @gisenberg @j6k4m8 I'll update here as soon as the contributor guide is ready and thanks :) |
@mnmtanish react-native-web is a tiny subset of component of React Native. So, spending time on that is not wise. May be we can stream the device's screen and render it on the web :) |
@mnmtanish: Is there any configuration file that need to be setup to load the stories like |
@deeptiagrawa Yes, configuration quite similar to react-storybook but the directory name has changed. Use |
React Native Storybook is quite stable right now so I'll close this issue. |
oh wow this is awesome! |
great! THX your Hackness!! |
Is there any way to build the android apk using the browser ie. when the user will fill out the prop values of components and when he clicks build the app will be generated with that values. |
How complicated would it be to adapt this for developing react native components?
The text was updated successfully, but these errors were encountered: