DEV Community

Cover image for What would the ideal web framework look like?
Siddharth
Siddharth

Posted on

What would the ideal web framework look like?

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)

Collapse
 
pontakornth profile image
Pontakorn Paesaeng
  • Component
  • Have their own sensible and convenient template system
  • Still support JSX
  • Have strong TypeScript support
  • Have official debugging tools
  • Have official support for editor
  • Easy integration with other tools

Vue is the closest to my ideal now.

Collapse
 
siddharthshyniben profile image
Siddharth

I would also prefer something like this, except no Virtual DOM.

Collapse
 
martinkavik profile image
Martin Kavík

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.

Collapse
 
steelwolf180 profile image
Max Ong Zong Bao • Edited

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.

Collapse
 
gsriraj profile image
Sriraj G

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.

Collapse
 
filipslezak profile image
FilipSlezak

For me, Angular with faster hmr, build times comparable to vite.js and support for framer-motion. That should do it for me.

Collapse
 
ca0v profile image
Corey Alix

Silverlight

Collapse
 
cjsmocjsmo profile image
Charlie J Smotherman

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

Collapse
 
alaindet profile image
Alain D'Ettorre

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.

Collapse
 
siddharthshyniben profile image
Siddharth

Angular is especially awesome when you scale , but it's not the best for small apps.

Collapse
 
darkwiiplayer profile image
𒎏Wii 🏳️‍⚧️

Ideally, a framework should:

  • be very modular
  • be lightweight
  • not replace JS with custom syntax
  • provide state management tools that scale beyond a to-do list
Collapse
 
peter_brown_cc2f497ac1175 profile image
Peter Brown • Edited

There is no ideal framework. Be a good engineer that is properly trained and good things will come