fix: remove quick flash with already rendered icons (#7828)

* Fix rapid update with already rendered components

* Added check to not re-render previously rendered icons

* Removed all loaded icons in favor of lazy loaded icons

* Fixed Share icon

* Updated Lucide

* Deleted Eager Icon Imports

* Added AWS Inverted to Lazy Icon Imports

* Added check if name contains a number to kebab case name

* fixed freeze path shortcut

* Added remaining icons to lazy icons mapping

* Removed unused icon mapping, added eager loading react icons, added replacing "icon" with "" on get lucide name

* removed unused import

* Update hook to not be used inside function call

* Updated package-lock
This commit is contained in:
Lucas Oliveira 2025-04-29 13:18:22 -03:00 committed by GitHub
commit ad3bc07733
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 54 additions and 762 deletions

View file

@ -47,7 +47,7 @@
"framer-motion": "^11.2.10",
"fuse.js": "^7.0.0",
"lodash": "^4.17.21",
"lucide-react": "^0.469.0",
"lucide-react": "^0.503.0",
"million": "^3.1.11",
"moment": "^2.30.1",
"moment-timezone": "^0.5.48",
@ -145,4 +145,4 @@
"ua-parser-js": "^1.0.38",
"vite": "^5.4.18"
}
}
}