CIS658 - Lazy Loading

Опубликовано: 23 Март 2026
на канале: Erik Fredericks
103
0

A short overview and demo of lazy loading.

Note - for fontawesome you'll need to set your project to use the free version.

Additional steps for fontawesome (i.e., how to avoid the mental breakdown I had off-camera).

Additional npm installs:
@fortawesome/free-solid-svg-icons
@fortawesome/free-regular-svg-icons
@fortawesome/free-brands-svg-icons

Add to package.json:
"babelMacros" : {
"fontawesome-svg-core" : {
"license": "free"
}
}

Links:
https://hackmd.io/@linhl3/react18_sus...
https://fontawesome.com/v6/docs/web/u...
https://github.com/FortAwesome/Font-A...
Extra guide: https://stackabuse.com/guide-to-lazy-...