Add support for flow
There is no way to add flow to any react-native-web project.
The message shown is the following:
import ReactNative from "react-native";
^^^^^^^^^^^^^^ react-native. Required module not found
I'm not to familiar with flow, as I'm usually not mixing types with my front-end. But I do enjoy typescript in my nodejs project, therefore I will definitely look up for a flow integration at some point. I might launch another RN4Web project soon (in the next fortnight), and will then add this feature to my roadmap. Any leads/tips would be appreciated.
I think we can start declaring the types as unsafe as I am doing here in order to make flow build.
But unsafe types should be replaced to have some flow syntax in the ide and having webpack building react-native-web that is not simple.