How to install flow type correctly for react native@0.46+?

Viewed 6043

I've googled many sites but cannot found a tutorial that actually works for react-native + flow type.

There was flow installation guide from react-native@0.22 document, but it's gone in react-native@0.46.

However, it comes up again in Running Tests and Contributing, I tested to run npm run flow but not working, and yet it doesn't say how to make it works. It's possibly been a missing part inside of react-native documentation.

What I need is to run flow correctly with react-native. Auto-check flow every time I reload the page with ⌘R would be the best.

3 Answers
Related