Is it possible to trigger a REST API refresh (with updated properties) without reloading the whole page?
I’m doing some filtering in my backend, using a request parameter.
(In the REST API in Divhunt, I’m getting the request param value from a property, which I’m setting on my page using a url query parameter.)
But when a user changes the filtering (in my example, clicking the next month button), that mean I have to reload the whole page with the new url query parameters.
Since this is a SPA, it would be more elegant if just the contents of the section showing the API results is updated.
history.pushState lets me update the displayed url in the browser, but it doesn’t trigger a new REST API request.
Any tips?