If a user is already on the main books page, the navbar links to 'Latest Additions' and 'Most Popular' do not update the page, although the browser's URL changes.
This is because the Blazor router doesn't recognise that the page needs to be re-rendered if querystrings are used.
To get around this, the books page would need to be changed to look for parameters divided by forward slashes instead. An OnParametersSetAsync method can then be added to respond to the changing values.
If a user is already on the main books page, the navbar links to 'Latest Additions' and 'Most Popular' do not update the page, although the browser's URL changes.
This is because the Blazor router doesn't recognise that the page needs to be re-rendered if querystrings are used.
To get around this, the books page would need to be changed to look for parameters divided by forward slashes instead. An OnParametersSetAsync method can then be added to respond to the changing values.