-
-
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
Adding/removing stories do not automatically update in React Native (3.2) #1547
Comments
After speaking with @shilman about this and taking a quick look at it here are my findings on this issue which could make it a non-issue: React Native has Hot Module Reloading built into it. If you have it on the components of the app reload when a story is added and the menus (both on web and OnDeviceUI) update accordingly. If you have it off the app doesn't reload the stories and thus the story doesn't propagate to the menus. CRNA uses Expo under the covers which I am fairly certain has a HMR type setup that is baked in during development which means when you update a story the RN app reloads the needed components and the stories appear in the menus. I believe this is a non-issue as any sane RN dev that is working on adding stories should have HMR on. |
Agree with @rmevans9 and closing. And here's a screenshot for anybody who runs across this issue: |
@shilman Either that or the "Enable Hot Reloading" below will do. Personally I use "Enable Hot Reloading" because it updates the component in place without reloading the entire bundle. "Enable Live Reload" will reload the entire app bundle. |
Story lists (on device, and on web) no longer automatically add or remove stories as they are added or removed in the codebase. It currently requires a full refresh of the web and device to observe these changes.
The text was updated successfully, but these errors were encountered: