Extract and inline critical css with emotion for server side rendering.
npm install @emotion/server> Extract and inline critical css with emotion.
@emotion/server provides three APIs for doing server-side rendering with emotion to extract critical css, inline critical css in html to a string and inline critical css in html to a stream.
@emotion/server's APIs are documented here.
``bash``
npm install --save @emotion/css @emotion/server