Bolero
Bolero copied to clipboard
`rootComp` can no longer prerender? [version 0.20.*]
In the 0.18.*
era of Bolero, by default, contents of rootComp
would prerender:
This is not the case for 0.20.*
:
In Songhay.Dashboard.Server/Startup.fs
:
.AddBoleroHost(server = false, prerendered = true, devToggle = true)
Is this just a fact of life with the new CE technology? Are there other ways to control RenderMode
apart from using Razor and calling Html.RenderComponentAsync
explicitly?
I can change my current layout to respond to what I am experiencing:
The dashed lines represent visuals rendered by rootComp
. The layout on the left is what I have now. The layout on the right reduces the responsibility of rootComp
and places static visuals around rootComp
.
Even with this reduced rendering functionality, the prerender feature is still there, making it superior to all popular JavaScript-based SPAs out of the box!
This definitely looks like a bug, the change is not intentional. I'll look into it.