Alternative frameworks that utilize the developer-friendly patterns of React without breaking the bank.
React is the developer’s equivalent of Avocado Toast. It’s great, but it’s expensive and has a lot of unnecessary toppings. React rewrites a lot of native browser functionality with features like the Virtual DOM and synthetic browser events. This practice negatively impacts SEO, progressive enhancement and initial load time. Read on for some light-weight alternatives that still allow for a rich user experience.
Preact is a React-like framework with nearly identical syntax, but less unnecessary fluff. This is a great option if you know React already and has the benefit of being ten times smaller thanks to a simpler DOM diffing algorithm and the fact that it uses the browser’s native
addEventlistener for event handling, rather than implementing its own event system like React.
The ubiquity of bloated front-end frameworks comes at a cost. Webpages are getting larger and less accessible to users who don’t have the latest technology. It’s nice to know that developers are building lighter frameworks that may help to reverse this trend.