-
Notifications
You must be signed in to change notification settings - Fork 49.9k
Closed
Labels
Status: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug
Description
Plugin version: 4.5
I don't know if I've overlooked something or made a mistake, but after switching to Flow's component syntax I have lint errors coming from eslint-plugin-react-hooks.
Steps To Reproduce
- Use flow component syntax in a React component
- Run linter
Link to code example: facebook/react-strict-dom#377
The current behavior
Error:
React Hook "useStrictDOMElement" is called in function "createStrictDOMTextInputComponent" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
The expected behavior
No error
Metadata
Metadata
Assignees
Labels
Status: UnconfirmedA potential issue that we haven't yet confirmed as a bugA potential issue that we haven't yet confirmed as a bug