Skip to content

Feat: Allow registering custom blazor element#254

Merged
AnnaSasDev merged 7 commits intocorefrom
253-feature-allow-registering-custom-blazor-element
Apr 24, 2026
Merged

Feat: Allow registering custom blazor element#254
AnnaSasDev merged 7 commits intocorefrom
253-feature-allow-registering-custom-blazor-element

Conversation

@AnnaSasDev
Copy link
Copy Markdown
Member

Closes #253

- Introduced `IJSComponentConfiguration` to `RootComponentList`, enabling JS component registration and management.
- Updated `InfiniFrameBlazorAppBuilder` to integrate `JSComponentConfigurationStore`.
- Added unit tests to validate JS component configuration and shared store functionality in `RootComponentList`.
…t and native platforms

- Introduced `ConfigureRootComponents` method to enable custom Blazor component registration in Playwright tests.
- Added support for `registerBlazorCustomElement` functionality across Windows, Linux, and macOS native platforms.
- Implemented JavaScript functionality for custom web component registration and lifecycle handling.
- Extended Playwright tests to validate Blazor custom elements' registration, rendering, and attribute updates.
…ializers

- Introduced JavaScript logic to automatically register missing Blazor custom elements.
- Updated Playwright tests to validate auto-registration and rendering of custom elements without initializers.
- Extended `ConfigureRootComponents` to include non-initialized components.
- Applied changes across Windows, Linux, and macOS native platforms.
@AnnaSasDev AnnaSasDev linked an issue Apr 24, 2026 that may be closed by this pull request
2 tasks
@AnnaSasDev AnnaSasDev self-assigned this Apr 24, 2026
Comment on lines +153 to +155
catch {
return null;
}
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@AnnaSasDev AnnaSasDev merged commit 6a0ef0c into core Apr 24, 2026
6 checks passed
@AnnaSasDev AnnaSasDev deleted the 253-feature-allow-registering-custom-blazor-element branch April 24, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature | Allow registering custom blazor element

2 participants