TanStackT
TanStack12mo ago
8 replies
foolish-indigo

server rendered emotion / css in js in tanstack start

i've been having issues with my css in js styles being applied through chakra ui, which uses emotion under the hood. it looks like emotion exposes its own functions that need to run during the hydration step, and chakra has a guide here for setting it up with remix https://v2.chakra-ui.com/getting-started/remix-guide. does tanstack start have a similar way to override the defaultStreamHandler from ssr.tsx? i suspect that's what i'll need to do
Was this page helpful?