specify required option to use Flow with new JSX transform (#3353)

This commit is contained in:
Federico Zivolo
2020-10-26 21:33:36 +01:00
committed by GitHub
parent 1d40cf0ac9
commit 95894a159f

View File

@@ -196,7 +196,7 @@ TypeScript supports the JSX transform in [v4.1 beta](https://devblogs.microsoft.
### Flow {#flow}
Flow supports the new JSX transform in [v0.126.0](https://github.com/facebook/flow/releases/tag/v0.126.0) and up.
Flow supports the new JSX transform in [v0.126.0](https://github.com/facebook/flow/releases/tag/v0.126.0) and up, by adding `react.runtime=automatic` to your Flow configuration options.
## Removing Unused React Imports {#removing-unused-react-imports}