Open
Description
QuickGrid will execute the same query twice when prerendering and rendering interactively.
Repro steps:
- Create a default Blazor Web App
- Run the Blazor CRUD scaffolder to add a QuickGrid set up to use EF Core
- Update the Index page with the QuickGrid to use interactive server rendering
- Run migrations to setup the DB and then run the app and browse to the Index page with the QuickGrid
- Examine the app logs to see the duplicate queries: one for when the page prerenders and one for when the page renders interactively.
@javiercn Could we use the persistent component state infrastructure to avoid the duplicate query?