komarovalexander / ka-table

Lightweight MIT React Table component with Sorting, Filtering, Grouping, Virtualization, Editing and many more
http://ka-table.com
MIT License
769 stars 56 forks source link

add customReducer support to uncontrolled mode #399

Closed komarovalexander closed 5 months ago

komarovalexander commented 6 months ago
    const table = useTable({
        customReducer: (nextState, action, prevState) => {
            //...
            return newState;
        }
    });
    return (
        <Table
            table={table}
         //...
         />
     );

2) also make more ITableProps functions as generics