create-emotion-server
Create Server-Side-Rendering APIs for emotion instances
create-emotion-styled
allows you create various APIs for Server-Side Rendering with instances of emotion. This is only needed if you use a custom instance of emotion from create-emotion
and you want to do Server-Side Rendering.
import createEmotionServer from 'create-emotion-server'
import * as emotion from 'my-emotion-instance'
export const {
extractCritical,
renderStylesToString,
renderStylesToNodeStream
} = createEmotionServer(emotion)
All of emotion's SSR APIs are documented in their own doc.