Home > other >  Using useSortableData based on useMemo() after data update in React app
Using useSortableData based on useMemo() after data update in React app

Time:12-16

I've made application based on this example

enter image description here

CodePudding user response:

Solved.

Data loading and changing left in main Component. The table and sorting const { items, requestSort, sortConfig } = useSortableData(data.items, sortObj); moved to other component

  • Related