-
Just asking for a clarification, it seems to me that if you set a render mode in the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The only way to make anything that Consumes a RenderFragment interactive is to wrap the component in an interactive component to let interactivity cascade. That said the only way to wrap MainLayout is to globally set the interactivity rendermode in the App.razor file on both the HeadOutlet component and the Routes component. The caveat here is that you've effectively locked yourself into the rendermode permanently for all cascading components or rather the entire app. |
Beta Was this translation helpful? Give feedback.
The only way to make anything that Consumes a RenderFragment interactive is to wrap the component in an interactive component to let interactivity cascade.
That said the only way to wrap MainLayout is to globally set the interactivity rendermode in the App.razor file on both the HeadOutlet component and the Routes component.
The caveat here is that you've effectively locked yourself into the rendermode permanently for all cascading components or rather the entire app.