filamentgroup / loadCSS

Load CSS asynchronously
MIT License
6.71k stars 533 forks source link

A release to end all releases #315

Closed scottjehl closed 4 years ago

scottjehl commented 4 years ago

This changes the repo to be clear that we have been recommending using the simple markup pattern explained in this article before using any JavaScript to load CSS:

https://www.filamentgroup.com/lab/load-css-simpler/

It keeps the functions in the codebase for those who need a programmatic CSS loader from JS.

Beyond that, this removes all references to prior patterns we've since deemed less helpful, like starting rel=preload.