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
Currently we are importing columns from a separate file, and then memoizing them. I have written a custom sort function that I want to pass to sortType but cannot use useMemo as it is not inside a component.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently we are importing columns from a separate file, and then memoizing them. I have written a custom sort function that I want to pass to
sortType
but cannot useuseMemo
as it is not inside a component.What is the correct way to implement this?
Beta Was this translation helpful? Give feedback.
All reactions