react-css-context
Async Loading CSS file in our React Application. Of course we can use in Isomorphic Application!
Install
$ npm install react-css-context -S
Usage
At Component where you want to load css.
;;
href
must be absolute url
- NG:
/path/to/some.css
- OK:
https://ryotasugawara.github.io/absolute/url.css
Server Side Rendering
;;; ;; // use string; // use component;
Client Side Rendering
;;; // get CSS-Map from browser head.; ReactDOM.render , document.getElementById'main';