react-table v7.0.0-beta.20 Release Notes

    • Internals have been reworked to use useReducer instead of useState for stability and architecture
    • ๐Ÿšš The state option has been removed in favor of using a custom reducer
    • The reducer option has been changed to a new function signature: function (newState, action, oldState) => newState
    • ๐Ÿ‘ The setState table instance method is no longer supported
    • The dispatch table instanced method was added
    • The ReactTable.actions export is now a plain object of action types mapped to identically named action strings
    • ๐Ÿ”Œ The ReactTable.reducerHandlers export was added, which is a plain object of plugin hook names mapped to their respective reducer functions