Skip to content

Files

Latest commit

 

History

History
 
 

with-remix_react-v18

Example: Remix with React v18

Try it live at Stackblitz or Codesandbox.

This example uses renderToPipeableStream to generate server-side rendered styles. For an example with renderToString take a look at with-remix.

How does this work?

  1. a modified app/entry.client to enable dynamic styling in the browser
  2. a modified app/entry.server to enable server-side rendering (SSR) of styles
  3. (optional) a dedicated twind file to ensure the @twind/core tw function is defined
  4. (optional) a dedicated twind.config

What is included?