Code Monkey home page Code Monkey logo

Comments (11)

esamk avatar esamk commented on May 25, 2024 2

@JohnKiller

Daniel Roth (of MS) replied a question about virtualization in asp.net blog:

"We’ve added a Virtualize component to help with handling virtualization in .NET 5 RC1, which should be available in a couple of weeks.. You can try out a .NET 5 RC1 build from https://github.com/dotnet/installer."

That was 31. August, so I guess we don't have to wait too long...

from typeahead.

chrissainty avatar chrissainty commented on May 25, 2024

I definitely think this is worth investigating, at the very least. I've not tried virtualisation before, but I've read through the samprof repo a long time ago, when he first released it and it looked good. Might be the best starting point?

from typeahead.

vertonghenb avatar vertonghenb commented on May 25, 2024

Personally I'm not fond of using the package since it also requires some .js or .css files. However, we could package them with ours and use the same idea EmbeddedBlazorContent they use in that package.

app.UseEmbeddedBlazorContent(typeof(BlazorVirtualScrolling.VirtualScroll).Assembly);
@using EmbeddedBlazorContent
<head>
    ...
    @Html.EmbeddedBlazorContent()
</head>

However this is quite harsh in my opinion and I think we'd be better off rolling our own system.

from typeahead.

chrissainty avatar chrissainty commented on May 25, 2024

I'm certainly up for rolling our own. I'd prefer not to take a dependency where we don't absolutely have to.

from typeahead.

vertonghenb avatar vertonghenb commented on May 25, 2024

Recheck if an Array<T> is still the way to go, initially we didn't use .Count() that much, maybe swap it for a Dictionary or List check #78

from typeahead.

vertonghenb avatar vertonghenb commented on May 25, 2024

Also coming in .NET 5 (Virtualize Component)

from typeahead.

JohnKiller avatar JohnKiller commented on May 25, 2024

@vertonghenb where did you find that information? I really hope some kind of virtualization is supported natively in Blazor, but I didn't find any GitHub issue documenting the progress on this

from typeahead.

vertonghenb avatar vertonghenb commented on May 25, 2024

@vertonghenb where did you find that information? I really hope some kind of virtualization is supported natively in Blazor, but I didn't find any GitHub issue documenting the progress on this

In one of the asp.net live community stand-ups.

from typeahead.

rybkov avatar rybkov commented on May 25, 2024

Any updates?

from typeahead.

chrissainty avatar chrissainty commented on May 25, 2024

@rybkov Are you experiencing performance issue with the component?

from typeahead.

rybkov avatar rybkov commented on May 25, 2024

@chrissainty I would say not with the component specifically, but with any component that has to render lots of items. I found that 100 suggestions is not so bad, but anything after feels the delay in the rendering. Business requirements is to show lots of data and would be nice to have virtual scroll in place.

from typeahead.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.