Use `pushState` to update the URL, and add the resource to the query and update the view.
Use
pushStateto update the URL, and add the resource to the query and update the view.