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
if ı use the hooks inside EventRow component ı got react.development.js:1476 Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. error. EventRow is a functional component.
The text was updated successfully, but these errors were encountered:
@aselcuk Hey, that's because if it's a function, it will be invoked directly instead of React.createElement for performance reason, and that is made before React Hooks are created, in the next major version, it will always be treated as a component
I used rowRenderer for my custom row component and ı need to use useEffect hooks inside this component but ı got Invalid hook call error.
if ı use the hooks inside EventRow component ı got react.development.js:1476 Uncaught Error: Invalid hook call. Hooks can only be called inside of the body of a function component. error.
EventRow is a functional component.
The text was updated successfully, but these errors were encountered: