DavidVollmers / Ignis

The Blazor framework for building modern web applications.
https://ignis.dvolper.dev
MIT License
137 stars 8 forks source link

Allow Ignis components to handle server prerender cycle #50

Closed DavidVollmers closed 3 months ago

DavidVollmers commented 3 months ago

Discussed in https://github.com/DavidVollmers/Ignis/discussions/49

Originally posted by **KieranFleckney** March 26, 2024 I am trying add ignis components to the new .net 8 app template. I understand from the docs https://ignis.dvolper.dev/docs/components/lifecycle that components using the ignis base don't re-render twice when using pre-rendering. However, I want pre-rendering to work, as from what I can tell ignis component don't pre-render at all. In the docs it says to implement IHandleAfterRender to get this desires result. However, I can not understand how that would work or get it to work. Any guidance would be good. Or would is it recommend that any component that needs pre-rendering to not be a ignis component