Allow queryState change in `withState` HOC component
ntarocco opened this issue · 0 comments
ntarocco commented
When an app implements its own custom component using withState
HOC component, currently it can only read the state, but not modify it. Add the action updateQueryState
to it.
- add the action
updateQueryState
in withState component, as done here - test the changes for filters: given an app with 2 selected filters, e.g.
file_type=pdf
andlanguage=en
, when the new custom components updateslanguage=it
,file_type=pdf
should be kept as is. - Add tests and update docs and demos if necesssary.