dillon1000/react

Commit

Set up Flow - Yay! (#6682)

This just configures flow to be checked and fixes our existing
Flow typed files.

Possible enhancements:

Export .js.flow declarations from the build. Unclear whether this
will be a supported workflow in the future or not, so let's wait
on that.

We should fail builds and CI on Flow errors.

Ideally we should lint for Flow style guides (like no space before
colon).
Browse files
Changed paths7 files
First-parent comparison
A .flowconfig AddedA flow/environment.js AddedA flow/react-native-host-hooks.js AddedM src/renderers/native/ReactNativeAttributePayload.js ModifiedM src/renderers/native/ReactNativeBridgeEventPlugin.js ModifiedM src/renderers/native/ReactNativeContainerInfo.js ModifiedM src/renderers/native/ReactNativeMount.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…