It seems like every week there is another ground-breaking new web framework. Some of them are interpreted, some compiled. Some of them are based on HTML tags, some component driven, and so on.
So, what would the "ideal" framework look like, maybe using ideas of existing frameworks? Of course, no framework is perfect for use everywhere, but what would come close?
Latest comments (58)
Vue is the closest to my ideal now.
I would also prefer something like this, except no Virtual DOM.
Hi, if you like Rust, try to look at MoonZoon.rs. Not production ready yet, but you can find ideas and docs in its readme and there are working examples in the repo.
Something that gets things done without too much learning curve that is coupled with design software like Xd & Figma for you to translate from design to code.
Without installing a bunch of libraries just to get started. Adopting modular approach using WebAssembly as their core package management is really a good start so anyone can use the compiled modules and adopt it into their website for different purposes.
I come from a django/flask background so I really like 1 way to do things to get started while adding more functionality when you need more stuff.
Solid js is heading in the right direction. Though webcomponents would be future proof. Frameworks like lit and stencil do this pretty well. Personally I am looking for an easy to integrate web assembly framework.
For me, Angular with faster hmr, build times comparable to vite.js and support for framer-motion. That should do it for me.
Silverlight
I have recently been exploring flutter/dart
It's not html, it's not css, it's not javascript, but it makes for beautiful pages.
What I find most appealing is write once compile to web, desktop or mobile
If you want to try something different (and it is very different) have a look.
Happy Coding
I would say the closest is Angular. It lacks the better performance and smaller bundle size and more 3rd-parties of other solutions, but it has an amazing philosophy, ease of development and general stability which would really justify some more support from the community instead of pure hatred.
You have mandatory TypeScript and RxJs and first-party packages for routing, fetching and forms, which is pure gold. The rest is meh and should be improved.
Angular is especially awesome when you scale , but it's not the best for small apps.
Ideally, a framework should:
There is no ideal framework. Be a good engineer that is properly trained and good things will come