Skip to content

Very large size bundle size (80KB+) with only Button element (react-aria-components) #4356

@eashish93

Description

@eashish93

📝 Feedback

I'm just tried react-aria-components on a fresh next.js app and by just importing only the button component, bundle size increased by 80KB+. This is not the case with react-aria hooks version.

Screenshot 2023-04-10 at 7 10 03 PM

🔦 Context

💻 Code Sample

🌍 Your Environment

Software Version(s)
[Package name] react-aria-components
Browser Chrome 111
Operating System Mac OS 12.6.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions