add comment about <link rel='preload'>

main
Mike Fix 6 years ago
parent 2f6a1e6815
commit 5b80d2a7bf

@ -10,9 +10,10 @@ const CDN_STYLESHEETS = THEMES.filter(
t => t.hasStylesheet !== false && LOCAL_STYLESHEETS.indexOf(t.id) < 0 t => t.hasStylesheet !== false && LOCAL_STYLESHEETS.indexOf(t.id) < 0
) )
// as="style" /*
// onLoad="this.onload=null;this.rel='stylesheet'" * Before supporting <link rel="preload" verify if it is widely supported in FireFox
* with out a flag here: https&://caniuse.com/#feat=link-rel-preload
*/
export default function Meta() { export default function Meta() {
const onBrowser = typeof window !== 'undefined' const onBrowser = typeof window !== 'undefined'
return ( return (

Loading…
Cancel
Save