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

Split up App.js #1451

Merged
merged 1 commit into from
Oct 26, 2017
Merged

Split up App.js #1451

merged 1 commit into from
Oct 26, 2017

Conversation

southerneer
Copy link
Contributor

App.js is a big file with a lot of things going on. This an attempt to simplify. Split out globals initialization, router, and everything else. A nice side benefit is that uncaught errors at the router level won't prevent the AppRegistry.registerComponent call and will therefore produce more intelligible error messages.

@aksonov
Copy link
Contributor

aksonov commented Oct 26, 2017

LGTM

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

Successfully merging this pull request may close these issues.

3 participants