v7.0.0-rc.3

This commit is contained in:
Tanner Linsley
2019-12-06 16:33:41 -07:00
parent 3fa2cdf388
commit 67544d33ff
4 changed files with 11 additions and 7 deletions
+2 -2
View File
@@ -2,12 +2,12 @@
"dist/index.js": {
"bundled": 100428,
"minified": 47447,
"gzipped": 12338
"gzipped": 12335
},
"dist/index.es.js": {
"bundled": 99612,
"minified": 46722,
"gzipped": 12193,
"gzipped": 12189,
"treeshaked": {
"rollup": {
"code": 80,
+4
View File
@@ -1,3 +1,7 @@
## 7.0.0-rc.3
- Fixed an issue where `column.clearSortBy` would crash
## 7.0.0-rc.2
- `reducerHandlers` has been deprecated in favor of the new `stateReducers` hook.
+4 -4
View File
@@ -27,10 +27,10 @@ The following options are supported via the main options object passed to `useTa
- Must be **memoized**
- Allows overriding or adding additional filter types for columns to use. If a column's filter type isn't found on this object, it will default to using the built-in filter types.
- For more information on filter types, see Filtering
- `getResetFiltersDeps: Function(instance) => [...useEffectDependencies]`
- Optional
- Defaults to `false`
- If set, the dependencies returned from this function will be used to determine when the effect to reset the `filters` state is fired.
- `autoResetFilters: Boolean`
- Defaults to `true`
- When `true`, the `filters` state will automatically reset if any of the following conditions are met:
- `data` is changed
- To disable, set to `false`
- For more information see the FAQ ["How do I stop my table state from automatically resetting when my data changes?"](./faq#how-do-i-stop-my-table-state-from-automatically-resetting-when-my-data-changes)
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "react-table",
"version": "7.0.0-rc.2",
"version": "7.0.0-rc.3",
"description": "Hooks for building lightweight, fast and extendable datagrids for React",
"license": "MIT",
"homepage": "https://github.com/tannerlinsley/react-table#readme",