dotnet / dotnet/aspnetcore

Automate/simplify setup steps when consuming a Blazor component library

Open
#49,880 5 comments 3 reactions 0 assignees View on GitHub
area-blazor enhancement Pillar: New Blazor Priority:1
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 5h
Merged PRs (30d)
276

Description

All of the major Blazor component libraries require multiple steps in order to setup their libraries in a Blazor app. Often these steps include:

- Added JavaScript files
- Linking to CSS style sheets
- Registering services in DI
- Adding infrastructure components that enable cross-cutting features
- Adding using directives for namespaces

Are there perhaps some patterns here that we can enable component library authors to automate so that it's easier to consume Blazor components? Are there common framework abstractions we should be adding to Blazor so that component libraries can reuse them and better compose with each other? Is there additional guidance we should provide to help component library authors make their libraries easier to consume?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.