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
Methods that return JSX.Element or JSX.Element[] should be named using the render prefix. For example, renderMenuItems, not getMenuItems. This would require the type checker though, so maybe it should be another rule...
(Seeking better rule name suggestions)
I want to enforce a certain naming pattern for callbacks and event handlers:
on
prefix -- this refers to code that binds handlershandle
prefix -- these are the actual handlers that are bound by other methodsThe text was updated successfully, but these errors were encountered: