Open
Description
The current resolution to #49144 in dotnet/sdk#35450 triggers an enhanced navigation to force the browser to reload a statically server-side rendered page if it has been modified by a hot reload action.
Per dotnet/sdk#35450 (comment), the experience doesn't work super well when DOM preservation is disabled. The result of this is as follows:
- For statically rendered pages, the page refresh is not triggered.
- For non-statically rendered pages, the notification UI (checkbox animation on the top left of the view) is not displayed since it is hooked onto the
enhancedload
event.
We should consider a fallback for this. We could trigger a page refresh on the hot reload event but this takes us back to the original dilemma of being able to determine if a given page has been statically rendered or if it has any components backed by a live rendered on it.
Activity