-
While debugging my module, I decided to take a look at render modes and am trying to understand the difference between Blazor's "RenderMode" and Oqtanes "PageState.RenderMode". The Blazor RenderMode variable is showing as "Interactive", but the PageState.RenderMode is "Static". Would I need to also set PageState.RenderMode or does that not matter at all? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@SSzretter please explain what you mean by "Blazor RenderMode variable" |
Beta Was this translation helpful? Give feedback.
The PageState RenderMode contains the configuration specified for the Site (in Site Settings). This is the default RenderMode for all pages. The default value is Static.
The ModuleState RenderMode contains the render mode for a specific module component which was dynamically injected into the page. The default value is Interactive - but it can be overridden in your razor component logic.
Based on above it should be obvious that Oqtane supports a "mixed" render mode - which explains the differences in the RenderMode properties.