|
|
|
|
|
by cobby
2351 days ago
|
|
Some frontend framework with fine-grained DOM updates like Solid by Ryan Carniato, Surplus or Svelte. Why:
Frameworks that use fine-grained DOM updated currently top js frameworks benchmark [1]. Svelte lags a bit behind in performance but it offers a better developer experience [1]: https://rawgit.com/krausest/js-framework-benchmark/master/we... |
|
So they might work very well if you can contain the state to a single component, but if you have deep shared state dependencies or changes in state in one component that changes a lot of other parts of the site it won't work as well.
I'd also question if (with most modern frameworks) the framework is the primary bottleneck. I usually use hyperapp-v1 as my frontend and find that loading less and optimizing my own code usually leads to better gains than tinkering in the framework.
Not saying that one should ignore benchmarks, but they should also not be the "end-all" measure of a framework.