DEV Community

Discussion on: Don't Optimize Your React App, Use Preact Instead

Collapse
 
brianmcbride profile image
Brian McBride

Imagine if there were a standard for components that could work across all the various front-end libs and frameworks.

Oh, there is? custom-elements-everywhere.com/
Of course, React doesn't support them properly.

While I do appreciate what React has given to the community as a whole - it would be so much better if we could get to a point where people are developing web components and then we can just focus on the other libs we need.

Just my .01c (yeah, it's a bargin today)

Collapse
 
nssimeonov profile image
Templar++

Yes, if you start a new project you can pick anything. And I wouldn't pick neither React nor Preact - I like Vue better.

But if you are handed a react codebase, converting it to preact isn't a one-day task and the bigger the project the more problems you will meet.

I'm working on the opposite conversion: Preact->React, and our company chose to do so for a reason.