The LivepeerConfig component manages configuration for all hooks using React Context.
LivepeerConfig
component manages configuration for all hooks using
React Context.
LivepeerConfig
should wrap all of your pages, so every page can use hooks provided by Livepeer React.head
of the document, to ensure hydration happens correctly.Client
instance that consists of
configuration options. Required to connect to a provider.
getCssText
function. This
function is made available by the createStitches function. This will give you
all the CSS you need to server-side render it.
For a better hydration strategy, we highly recommend adding an id="stitches"
to your style tag.
Here’s an example of SSR with Next.js: