
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
github.com/SamProf/BlazorVirtualScrolling
The VirtualScroll
displays large lists of elements performantly by only rendering the items that fit on-screen. Loading hundreds of elements can be slow in any browser; virtual scrolling enables a performant way to simulate all items being rendered by making the height of the container element the same as the height of total number of elements to be rendered, and then only rendering the items in view.
Don't know what Blazor is? Read here
Complete all Blazor dependencies.
To Install
Install-Package BlazorVirtualScrolling
or
dotnet add package BlazorVirtualScrolling
@using BlazorVirtualScrolling
<VirtualScroll style="height: 500px;" ItemType="string" Items="@items" ItemHeight="50">
<div>@context</div>
</VirtualScroll>
@functions
{
public IEnumerable<string> items = Enumerable.Range(0, 1000000).Select(i => i.ToString()).ToArray();
}
app.UseEmbeddedBlazorContent(typeof(BlazorVirtualScrolling.VirtualScroll).Assembly);
@using EmbeddedBlazorContent
<head>
...
@Html.EmbeddedBlazorContent()
</head>
For how-to questions and other non-issues, for now you can use issues or you can use .
We'd greatly appreciate any contribution you make. :)
This project is licensed under the terms of the MIT license.
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.