Flow errors on <React.Fragment> or <></>, but not <Fragment>
You have to use import * as React from 'react'
to fix this :)
The fix to include React.Fragment
in the definition is included in this commit:
https://github.com/facebook/flow/commit/b76ad725177284681d483247e89739c292ed982b
It should be available in flow 0.71