GithubHelp home page GithubHelp logo

filesize clarification about react-lite HOT 5 CLOSED

NickColley avatar NickColley commented on July 24, 2024
filesize clarification

from react-lite.

Comments (5)

Lucifier129 avatar Lucifier129 commented on July 24, 2024

It sounds good.

Added framework-size-comparison part to README, see it with this link: https://github.com/Lucifier129/react-lite#framework-size-comparison

from react-lite.

fritx avatar fritx commented on July 24, 2024

👍

from react-lite.

NickColley avatar NickColley commented on July 24, 2024

Thanks so much @Lucifier129, can I be a real pain and ask is that with gzip? It says minified but I'm not sure?

I'd have two columns: minified and minfied+gzip

The minified gives you an idea of how much code needs to be parsed then executed once it's unpacked, the minfied + gzip gives you an idea of how long it'll take to get to your user.

You could use something like https://github.com/sindresorhus/gzip-size + https://github.com/sindresorhus/pretty-bytes

Related thoughts: https://aerotwist.com/blog/the-cost-of-frameworks/

Thanks again for your patience 👍

from react-lite.

Lucifier129 avatar Lucifier129 commented on July 24, 2024

@NickColley I think minified size was enough to show how lightweight about react-lite.

Even without gzip, react-lite is smaller than many other library with gzip, LOL

from react-lite.

tejacques avatar tejacques commented on July 24, 2024

@NickColley if it wasn't clear, looking at https://github.com/Lucifier129/react-lite/tree/master/dist clarifies it's the size without gzip. It's 6.47kb with gzip.

from react-lite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.