Closed tupy closed 2 years ago
Hm, what would be an example of when one would use state.query
to fetch data over state.params
?
For instance, a feed of documents that it's possible to filter/sort using a query param:
/feed/new-feed-1?filter=tag1&sort=date
The react-router receive these params and fetchData()
should send them to load the correct data.
Coverage remained the same at 97.5% when pulling db671bdd0aeedaafbaa1ce766353c1aa5222fd27 on tupy:patch-1 into 584e52b72ac1b490c2ffff7220563e4838c1a417 on pheuter:master.