Nice article, but better not/avoid using Font Awesome with React apps. It adds a lot of weight to the final build. And I guess at the end you gonna use 10 icons max. It's better to build your own system that generate font icon from svgs.
Senior Full Stack Developer. I've been a full-stack web developer for about 9 years!
My passion is making fun things and sharing how I did it!
Prisma is my jam.
Good point! The Font Awesome packages comes with the functionality to build out a "library" of only the icons you plan to use to keep the bundle size down when you build for production. I mention that and show the basic setup of a library in this article, but there are more details here if you're interested 👇
Nice article, but better not/avoid using Font Awesome with React apps. It adds a lot of weight to the final build. And I guess at the end you gonna use 10 icons max. It's better to build your own system that generate font icon from svgs.
Good point! The Font Awesome packages comes with the functionality to build out a "library" of only the icons you plan to use to keep the bundle size down when you build for production. I mention that and show the basic setup of a library in this article, but there are more details here if you're interested 👇
fontawesome.com/how-to-use/on-the-...