chakra-ui icon indicating copy to clipboard operation
chakra-ui copied to clipboard

refactor: remove unused framer features

Open mezotv opened this issue 3 months ago • 2 comments

📝 Description

Changes the motion import to the more lightweigth m component.

⛳️ Current behavior (updates)

Currently uses the motion import which loads all of the features even the ones you don't need.

🚀 New behavior

Uses the lightweight m component with only the animation features loaded into. Since thats the only thing the components use.

💣 Is this a breaking change (Yes/No):

Not a breaking change!

📝 Additional Information

Docs for this change: https://www.framer.com/motion/guide-reduce-bundle-size/

mezotv avatar Mar 10 '24 00:03 mezotv

🦋 Changeset detected

Latest commit: 4f54b3d11da4f488095e02d3ebc4649b62f7f765

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@chakra-ui/react Patch
@chakra-ui/test-utils Patch
@chakra-ui/docs Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Mar 10 '24 00:03 changeset-bot[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
chakra-ui-storybook ❌ Failed (Inspect) Mar 12, 2024 0:48am
chakra-ui-website ❌ Failed (Inspect) Mar 12, 2024 0:48am

vercel[bot] avatar Mar 10 '24 00:03 vercel[bot]

Thanks for working on this.

Closing this in favor of the upcoming v3 version which no longer requires framer-motion

segunadebayo avatar May 08 '24 17:05 segunadebayo