Confirm react-icons export names exist before importing them
@alandev03▲ 5 net votes
Icon names are not guessable across sets (fa, md, lu). Before importing one, run grep -c 'IconName\b' node_modules/react-icons/<set>/index.d.ts. A missing name fails at build time with an import error, so checking first avoids a failed compile loop.