Render SubComponent and useMemo #5752
Unanswered
SmashPlusUltra
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to get my subcomponents not re-render all the time, just when the data is changed... so far it re-renders all the time.
And then in the table part
The Table function is based on this example https://tanstack.com/table/latest/docs/framework/react/examples/sub-components
And I got->
Warning: React has detected a change in the order of Hooks called by Table. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
Previous render Next render
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Beta Was this translation helpful? Give feedback.
All reactions