DEV Community

Discussion on: You don’t need React for building websites

 
bennypowers profile image
Benny Powers 🇮🇱🇨🇦

Preact is a fine choice.

Lit has the advantage of running directly in the browser without need for transpilation. You can get that with preact using htm instead of jsx

But really it comes down to this: as the user of your components, I don't really care which library you used to write them, I only care if they work with my app.

React fails that test, preact and lit pass.