flowbite-react
flowbite-react copied to clipboard
Performance pitfall - imports not tree shaken
- [x] I have searched the Issues to see if this bug has already been reported
- [x] I have tested the latest version
Steps to reproduce
- Import a single component from any page in Next.js
- Use the Next.js bundle analyzer to open up the tree diagram
- Find the page used in step 1 and look for Flowbite react
Current behavior
All components are imported.
Expected behavior
Only the desired component should show up.