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
I made a basic filters custom hook for my project.
Takes an array of items, runs a .filter() , returns filtered array to feed my table, nothing too fancy. It does its job.
I was wondering if there is a disadvantage I am not seeing here because of not using filterFn nor any other filtering method native to the library. Like I won't be able to virtualize data or use some great cache utilities or something.
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.
-
Hello there!
I made a basic filters custom hook for my project.
Takes an array of items, runs a .filter() , returns filtered array to feed my table, nothing too fancy. It does its job.
I was wondering if there is a disadvantage I am not seeing here because of not using filterFn nor any other filtering method native to the library. Like I won't be able to virtualize data or use some great cache utilities or something.
Thank you all
Beta Was this translation helpful? Give feedback.
All reactions