Open rosskevin opened 7 years ago
There is also the possibility that this could just be a regression with the Try flow
tool as well.
@goodmind This is indeed a TryFlow regression (tested locally with CRA and it works fine), I know you and someone else are working on a new TryFlow editor so feel free to label this based on its relevance and importance today If it's relevant I might try to solve this
SyntheticEvent
s appear to not be included in 55, but works in 54.1 and lowerTest code (linked above):
This seems like a regression, because these SyntheticEvents are still in the libdef https://github.com/facebook/flow/blob/v0.55.0/lib/react-dom.js
and recommended to be used by https://flow.org/en/docs/react/events/
Here is an exact 55 try flow of the docs example, which also works in 54.1 and lower.
I actually came to report a different issue and when trying to boil down the test case, perhaps this is the root cause.