Commit 31d0fd6
committed
feat(federated): keep a consistent state in the RefinementList life cycle (#3976)
* fix(state): alwasy keep helper refinement (refinement-list)
* fix: take previous configuration in account
also: call getConfiguration with a SearchParameters object, not a plain search parameters; this allows us to avoid conditions
* guard around getfacetvalues
* test: test helper behaviour for refine
We were relying on helper functions which are changing in algolia/algoliasearch-helper-js#738
* use provided params
* remove dead branch
* fix(dispose): remove maxValuesPerFacet
* chore: prog style comments
* chore: naming1 parent c9081e4 commit 31d0fd6
File tree
3 files changed
+397
-67
lines changed- src
- connectors/refinement-list
- __tests__
- widgets/refinement-list/__tests__
3 files changed
+397
-67
lines changed
0 commit comments