Preact & Vite Server Side rendering throws error #1397
Labels
bug report 🦗
Issue is probably a bug, but it needs to be checked
needs: complete repro 🖥️
Issue need to have complete repro provided
platform: ssr 🛠️
Issue related to SSR
Environment
Description
When server side rendering linaria component with
renderToString
from "preact-render-to-string" an error is thrownReproducible Demo
A minimal demo with an express server:
https://codesandbox.io/p/devbox/linaria-preact-vite-6g9frp
When running
npm run start
or the "start SSR"-task you will see the error thrown in the terminal/console.The text was updated successfully, but these errors were encountered: