Excubo.Blazor.LazyStyleSheet 3.1.3

There is a newer version of this package available.
See the version list below for details.
Install-Package Excubo.Blazor.LazyStyleSheet -Version 3.1.3
dotnet add package Excubo.Blazor.LazyStyleSheet --version 3.1.3
<PackageReference Include="Excubo.Blazor.LazyStyleSheet" Version="3.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Excubo.Blazor.LazyStyleSheet --version 3.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Excubo.Blazor.LazyStyleSheet, 3.1.3"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Excubo.Blazor.LazyStyleSheet as a Cake Addin
#addin nuget:?package=Excubo.Blazor.LazyStyleSheet&version=3.1.3

// Install Excubo.Blazor.LazyStyleSheet as a Cake Tool
#tool nuget:?package=Excubo.Blazor.LazyStyleSheet&version=3.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

A major issue on websites is slow page load. In part, this is due to enormous payloads that need to be downloaded in full before a page can be rendered correctly. Minimization and compression help to some degree, but it ignores the awkward fact that many style sheets are only used to a tiny fraction.

With HTTP/2, loading small files rather than one large one is less of a performance concern than with HTTP/1.1. Since Blazor uses HTTP/2 by default, we can make use of this and split style sheets into smaller chunks. Those chunks can then be loaded lazily, i.e. only when a component actually needs it.

Excubo.Blazor.LazyStyleSheet enables you to write dedicated style sheet for each component.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.21 122 11/9/2021
3.1.19 122 9/15/2021
3.1.18 118 8/11/2021
3.1.17 99 7/19/2021
3.1.14 110 4/7/2021
3.1.13 137 3/3/2021
3.1.11 193 1/13/2021
3.1.9 182 11/13/2020
3.1.8 13,041 10/13/2020
3.1.7 1,110 9/30/2020
3.1.5 1,841 9/8/2020
3.1.4 1,962 8/12/2020
3.1.3 1,315 7/24/2020
3.1.2 503 7/20/2020
3.1.1 644 7/14/2020
3.0.0 331 7/10/2020
2.0.9 1,104 6/15/2020
2.0.8 259 6/5/2020
2.0.7 239 5/13/2020
2.0.6 238 5/13/2020
2.0.5 224 5/1/2020
2.0.2 288 5/1/2020
2.0.1 247 4/28/2020
2.0.0 299 3/27/2020
1.0.1 256 3/26/2020
1.0.0 259 3/11/2020