-
Notifications
You must be signed in to change notification settings - Fork 46k
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
Resolve host configs at build time #12792
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a6ac452
Extract base Jest config
gaearon fe59043
Statically import the host config
gaearon cb2548e
Add scaffolding for importing an inlined renderer
gaearon f17323b
Fix the build
gaearon 21a2916
ES exports for renderer methods
gaearon 1ea7e4d
ES modules for host configs
gaearon d292923
Remove closures from the reconciler
gaearon 265ba23
Check each renderer's config with Flow
gaearon 6037625
Fix uncovered Flow issue
gaearon a501c8b
Prettier
gaearon a1b7241
Get rid of enable*Reconciler flags
gaearon 7d7981f
Prettier again
gaearon e6410f9
Fix Flow config creation issue
gaearon bdcc773
Fix imprecise Flow typing
gaearon 56ca671
Revert accidental changes
gaearon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's unfortunate that forgetting to do this causes a totally non-obvious (to me) failure:
![screen shot 2018-05-18 at 2 24 12 pm](https://user-images.githubusercontent.com/29597/40258662-2e8d0580-5aa7-11e8-9e2a-1f08b434b18d.png)
I guess this is the only test where we need to do this though?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. But good point. I think we might want to try to fail early although I’m not yet sure how.