Conversation
|
@facebook-github-bot shipit-ninja |
|
@ericvicenti has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
|
Note this should be noted as a breaking change in the next release, unless it's fixed internally by then. |
|
Although it is possible to avoid a breaking change, I do like the idea of It is a shame we need to update the flow config in everybody's app for suppression that only happens within RN. |
|
@ericvicenti this would still be a breaking change actually, as long as "site=react_native_oss" in Flow suppression comments exists in the code base. |
|
Until Flow supports nested flowconfig's (which I'm not sure is even on the Flow team's roadmap) or a very complete react-native flow interface definition is added to flow-typed, which would be pretty difficult, and probably should be auto-generated in order to keep completeness and for it stay up to date, this is just something that we have to deal with. Adding to flow-typed would actually let projects using Flow and depending on RN to actually ignore all of node_modules/react-native in their flowconfig. |
|
Awesome, thanks @skevy!
|
|
Thanks @skevy! |
|
@sahrens totally agree that this is a useful feature! Gonna start doing this myself :p It's unfortunate that it's a breaking change. But it is what it is. Just the state of the world at the moment. |
|
Awesome, thanks @skevy! |
Summary: In the .flowconfig in the starter project, we're missing the correct suppression comments. This should fix the flow issues in the e2e tests. Closes facebook#12533 Differential Revision: D4603657 Pulled By: ericvicenti fbshipit-source-id: a07ec947d3ba746279c58e2d95c2293f54e06933
Summary: In the .flowconfig in the starter project, we're missing the correct suppression comments. This should fix the flow issues in the e2e tests. Closes facebook/react-native#12533 Differential Revision: D4603657 Pulled By: ericvicenti fbshipit-source-id: a07ec947d3ba746279c58e2d95c2293f54e06933
In the .flowconfig in the starter project, we're missing the correct suppression comments.
This should fix the flow issues in the e2e tests.