react-virtuoso
Svelte
react-virtuoso | Svelte | |
---|---|---|
9 | 634 | |
4,861 | 76,553 | |
- | 0.7% | |
7.7 | 9.9 | |
4 days ago | 6 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
react-virtuoso
-
How to optimise React Apps?
If we limit the number of rows rendered to only show the visible items, we can limit the cost of re-rendering the table. Even if there are a large number of rows in the table, only the ones on the screen will be rendered. That can be done by virtualization. I will use react-virtuoso for the app.
-
To virtualize or not to virtualize?
react-virtualized is very old and unmaintained. I will plug my fairly popular solution, https://github.com/petyosi/react-virtuoso.
-
Dropdowns containing over 1000+
Try virtualization inside your dropdown. For sure it will improve the performance. Check https://virtuoso.dev it's very easy to implement
-
Best infinity scroll?
Shameless plug, I am the author: https://github.com/petyosi/react-virtuoso
-
Virtualization of table rows containing stateful components
I would take a look at React Virtuoso
-
Does a chat application require windowing to prevent performance issue ?
if it is group chat that many users can write messages into one group means it will be a lot from some point. and suppose there is another list for example user contact list in aside along with chat section, size of dom will grow in app. when user select some contact item react gets sluggish from its rerender aspect. but I don't recommend to start with it unless you are not observe performance issues and app layout is simple to implement this feature there is also https://virtuoso.dev/ for virtualization FYI.
-
React Virtualization - react-window vs react-virtuoso
react-virtuoso is a relatively new package for virtualization, published first two years ago. It comes with all the necessary features and support that one might eventually require in a developing project.
-
✨ One of the easiest ways to build a virtualized list with infinite scroll (link in 1st comment)
So far, react-virtuosso https://virtuoso.dev/ is the only library that supports this.
-
dysfunctional big company?
In many large companies, development becomes slow and incredibly expensive. If an engineer costs 10k a month, the fully burdened cost to the company is often 5-10x that. While the costs increase the output usually goes down. This is something I’ve been thinking about a lot over the last months. As our startup keeps on growing I want to hold on to that startup level of productivity. Petyo just joined as our 100nd team member, so as we reach this initial level of scale this is becoming a more urgent concern.
Svelte
-
My opinion about opinionated Prettier: 👎
the technical decision how Svelte should treat self-closing html elements was hindered by Prettier:
-
Composable architecture example: Go headless (best practices)
Svelte
-
How to optimise React Apps?
React has introduced measures like batching state updates, background concurrent rendering and memoization to tackle this. My opinion is that the best way to solve the problem is by improving their reactivity model. The app needs to be able to track the code that should be re-run on updating a given state variable and specifically update the UI corresponding to this update. Tools like solid.js and svelte work in this manner. It also eliminates the need for a virtual DOM and diffing.
-
Episode 24/13: Native Signals, Details on Angular/Wiz, Alan Agius on the Angular CLI
Similarly to Promises/A+, this effort focuses on aligning the JavaScript ecosystem. If this alignment is successful, then a standard could emerge, based on that experience. Several framework authors are collaborating here on a common model which could back their reactivity core. The current draft is based on design input from the authors/maintainers of Angular, Bubble, Ember, FAST, MobX, Preact, Qwik, RxJS, Solid, Starbeam, Svelte, Vue, Wiz, and more…
- Rich Harris: Svelte parses HTML all wrong
- Mario meets Pareto: multi-objective optimization of Mario Kart builds
- Svelte parses HTML all wrong
-
Svelte for Beginners: Easy Guide
Svelte is a powerful web framework that offers a fresh approach to building web applications. Its simplicity, reactivity model, and built-in features make it an excellent choice for developers looking to create efficient and maintainable applications. By following this guide, you should now have a good understanding of how to get started with Svelte and build your first components, routes, and transitions. You can read more about svelte on the official Svelte website.
-
Trying to use dotnet watch with Svelte
Use .NET features (especially dotnet watch) as a setup for a client-side Svelte application, starting from a simple C# console app.
What are some alternatives?
react-virtualized - React components for efficiently rendering large lists and tabular data
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
react-tiny-virtual-list - A tiny but mighty 3kb list virtualization library, with zero dependencies 💪 Supports variable heights/widths, sticky items, scrolling to index, and more!
lit - Lit is a simple library for building fast, lightweight web components.
react-cool-virtual - 😎 ♻️ A tiny React hook for rendering large datasets like a breeze.
solid - A declarative, efficient, and flexible JavaScript library for building user interfaces. [Moved to: https://github.com/solidui/solid]
vscode-webview-ui-toolkit - A component library for building webview-based extensions in Visual Studio Code.
qwik - Instant-loading web apps, without effort
chat-builder - Build a completely custom chat UI on top of Papercups
awesome-blazor - Resources for Blazor, a .NET web framework using C#/Razor and HTML that runs in the browser with WebAssembly.
stream-chat-react - React Chat SDK ➜ Stream Chat 💬
Next.js - The React Framework