import 'react-dates/lib/css/_datepicker.css'
The css above is not critical, so I can defer loading it.
How to defer loading css when using import?
google gives me how to do it using <link>
If you are using webpack, you can use its dynamic import feature:
const delay = () => import(`react-dates/lib/css/_datepicker.css`)
setTimeout(() => delay(), 0)
imported dynamically itselfdynamically imported) @CaptainMhmdrz_A , there are other '*.js' files I import