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
React Hook "useMyHook" is called in function "..." 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
✅
The text was updated successfully, but these errors were encountered:
Hello!
Even though non-ASCII characters are allowed to be used to name components, i believe that it leads to inconsistency and it would make it difficult to other co-workers from different countries to contribute with you code, in addition to not being fully compatible in older systems or tools, eslint is a good example of this... Do you have a reason for using these sort of characters into your component functions ?
Hello! Even though non-ASCII characters are allowed to be used to name components, i believe that it leads to inconsistency and it would make it difficult to other co-workers from different countries to contribute with you code, in addition to not being fully compatible in older systems or tools, eslint is a good example of this... Do you have a reason for using these sort of characters into your component functions ?
In my project we use local domain language for components, not being forced to try to translate some difficult words.
Some of those words starts with an nordic characters
React version: 18.3.1
eslint-plugin-react-hooks: 5.2.0 (5.0.0+)
Steps To Reproduce
Link to code example:
The current behavior
The expected behavior
✅
The text was updated successfully, but these errors were encountered: