Software Alternatives & Reviews

Don't Optimize Your React App, Use Preact Instead

Preact.js GTmetrix BundlePhobia
  1. Preact is a fast 3kB alternative to React with the same modern API. Components & Virtual DOM.
    Pricing:
    • Open Source
    A few months ago, I wrote an article based on optimizing react loading time, and most of the reader's comments were to try Preact to get default optimization. So I decided to try preact with the same app used for the previous article. Let's first get an intro about Preact.

    #Javascript UI Libraries #JavaScript #Javascript Utilities & Libraries 83 social mentions

  2. GTmetrix is a free tool that analyzes your page's speed performance. Using PageSpeed and YSlow, GTmetrix generates scores for your pages and offers actionable recommendations on how to fix them.
    To compare both app performances, I used GTmetrix and hosted both apps in Netlify.

    #Website Monitoring #Monitoring Tools #Uptime Monitoring 137 social mentions

  3. Find the performance impact of adding a npm package to your bundle.
    Preact is a React alternative library with all the react features!.. Preact is a 3KB library. It is very small compared to react, as react and react-dom gzip size is around 41KB excluding react-scripts based on bundlephobia. Some highlighted features of preact are.

    #JavaScript Tools #JavaScript #Software Development 50 social mentions

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

Log in or Post with