I didn't include an updated package.json with this PR, but it should be tested using this branch on the DKAN components repo: github:GetDKAN/data-catalog-components#hooks-n-context
This PR aims to catch the search features on the demo build to work with more varying datasets. It switches to maintaining all the search state through useState hooks and passing that to various hooks in the component repo. The goal is to have the actual fetching of data be a side effect of the changes the user makes. It includes the url parameter saving and also updated Hero work to make sure the home page links to the search correctly.
I didn't include an updated package.json with this PR, but it should be tested using this branch on the DKAN components repo:
github:GetDKAN/data-catalog-components#hooks-n-context
This PR aims to catch the search features on the demo build to work with more varying datasets. It switches to maintaining all the search state through
useState
hooks and passing that to various hooks in the component repo. The goal is to have the actual fetching of data be a side effect of the changes the user makes. It includes the url parameter saving and also updated Hero work to make sure the home page links to the search correctly.