While I was looking at H5GroveProvider's documentation, I realised that forgetting to memoise axiosConfig would lead to the cache being cleared on every render of the consumer app. For the time being, I simply update the documentation to recommend memoising the object.
Following https://github.com/silx-kit/h5web/discussions/1553, I document setting a
key
onH5GroveProvider
andHsdsProvider
to force a remount and clear the cache:While I was looking at
H5GroveProvider
's documentation, I realised that forgetting to memoiseaxiosConfig
would lead to the cache being cleared on every render of the consumer app. For the time being, I simply update the documentation to recommend memoising the object.