Skip to content

Preact bundle larger than React #1289

@luca-aurelia

Description

@luca-aurelia

Hi folks!

Thanks for all your amazing hard work on Preact 🙏A couple of very high performance products I've launched would have been impossible without all the effort you've put in to building such a small, fast library. I know that making things small is often harder than making them big. (As Blaise Pascal once said, "I would have written a shorter letter, but I did not have the time.")

I just came across a data point and wanted to see what you all thought: In the past, one of Preact's many benefits was how much smaller it was than React. According to Bundlephobia, that's no longer the case:

Minified Minified + gzipped
React 16.7 5.9 kB 2.5 kB
Preact 8.4 8.9 kB 3.5 kB

Not sure what the implications are (if any), but wanted to hear your thoughts on the matter.

Cheers!
Thomas

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions