redux-search v1.0.0 Release Notes
-
👀 Result selector created by
getSearchSelectors
automatically filters the result list to ensure that all results are all present in the resource collection. (See issue #29 for more background information.)⬆️ Upgrade path (0.x to 1.x)
⚡️ Update
getSearchSelectors
references to use named parameters. For example this...const selectors = getSearchSelectors('books')
...becomes this...
const selectors = getSearchSelectors({ resourceName: 'books', resourceSelector: (resourceName, state) => state.resources.get(resourceName) })