You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm scratching my head with this one. I reduced my .eslintrc config to the bare minimum of what is expected but can't seem to make it work. What confuses me is that it works fine @ Try Flow, which makes it that much more confusing as to figuring out what I'm doing wrong.
If I make the component into a plain functional component, it works as expected. Am I missing some details when it comes to component syntax?
The text was updated successfully, but these errors were encountered:
For now, I would recommend turning off no-unreachable, since Flow already detects and errors on unreachable code. I will look into fixing it in the hermes-eslint.
Package versions
.eslintrc
Code
Expected behavior
No errors!
Actual behavior
I'm scratching my head with this one. I reduced my
.eslintrc
config to the bare minimum of what is expected but can't seem to make it work. What confuses me is that it works fine @ Try Flow, which makes it that much more confusing as to figuring out what I'm doing wrong.If I make the component into a plain functional component, it works as expected. Am I missing some details when it comes to component syntax?
The text was updated successfully, but these errors were encountered: