Skip to content

Instantly share code, notes, and snippets.

@bmaupin
Created April 4, 2023 17:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bmaupin/25e7bf945f3f06ec4de884c840177097 to your computer and use it in GitHub Desktop.
Save bmaupin/25e7bf945f3f06ec4de884c840177097 to your computer and use it in GitHub Desktop.
Thoughts on frontend frameworks

General

React

The de-facto standard as of 2023

Diverges somewhat from the React API by adopting signals, which give more control over when components re-render

  • Takes a lot of the good from React (JSX, one-way data binding) but changes how components are rendered for better control and performance
  • Faster than React
  • Uses JSX, like React

Supposedly simpler and more lightweight than React (hence the name)

  • Because it's so lightweight, it's faster than React
  • Potentially lower learning curve than some of the other frameworks that are more similar to React
  • Diverges much more from the React API compared to Solid.js/Qwik; doesn't use JSX, has two-way data binding

Supposedly faster than React (hence the name) but with a very similar API

  • Speed seems to be due to out-of-the-box features like resumability, lazy execution, etc.
  • Doesn't seem like it really differentiates itself enough from React to pull people away from it
    • Those looking for something similar to React but faster might be better served by Solid.js
    • Those looking for something different from React and faster might be better served by Svelte
  • Uses JSX, like React
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment