-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
✔️ Resolution: DuplicateResolved as a duplicate of another issueResolved as a duplicate of another issueStatus: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components
Description
Summary
Currently, there is a very ugly workaround if you want to support interactive components on static pages, where you have to wrap the interactive components in a parent component if you need to pass in non-serializable child content
Motivation and goals
Make it easier to consume interactive components from static pages

Documentation explains the serializable parameters, but why is this the case? Blazor should know that a component is InteractiveServer, and it should support sending child content to interactive server components on static pages
Examples
Cannot pass the parameter 'ChildContent' to component - main error received
Detailed design
Static pages should be able to support interactive components, even if you nest them with non-serializable content
Metadata
Metadata
Assignees
Labels
✔️ Resolution: DuplicateResolved as a duplicate of another issueResolved as a duplicate of another issueStatus: Resolvedarea-blazorIncludes: Blazor, Razor ComponentsIncludes: Blazor, Razor Components