top | item 33227041

(no title)

h3mb3 | 3 years ago

React-specific: https://react-icons.github.io/react-icons/

discuss

order

gervwyk|3 years ago

This is also my favorite goto for icons. Also interesting to me how the repo is structured, by including a linked folder to the source repo, see packages/react-icons/src/icons .. does anyone know how to do this?

h3mb3|3 years ago

That's how Git submodules [1] show up on GitHub. I didn't actually know the project was using them. Interesting. As far as I know, this is an ideal use case for submodules, yet at least I've rarely encountered them in the web dev scene for some reason (well, IIRC there are some gotchas).

[1] https://git-scm.com/book/en/v2/Git-Tools-Submodules