Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💸 Icon Picker - Bundle size too large #3374

Open
3 tasks
Calinator444 opened this issue Dec 4, 2024 · 0 comments
Open
3 tasks

💸 Icon Picker - Bundle size too large #3374

Calinator444 opened this issue Dec 4, 2024 · 0 comments

Comments

@Calinator444
Copy link
Member

Description
As per Isaac's comment, we've added an icon picker for the new consulting pages. However, this component increases the website's bundle size because it imports the entire library for React Icons Box Icons.

#3316 (comment)

Proposed solution
We have 3 options here:

  • Choose a less expensive different icon library (i.e. one that uses CSS)
  • Implement an endpoint for incrementally fetching the icons from react icons
  • Find a way to only dynamically import the icons that we need to reduce our page bundle size (still unsure why the bundle for the Tina editor is included in the home page).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🤷‍♂️ Needs Triage
Development

No branches or pull requests

1 participant