Closed kiliman closed 1 year ago
I've fixed the theme issue. Here's a video showing it working.
I'm not sure what that React error was at the end there. Something to do with motion after I refreshed on the light theme.
Anyway, as you can see, you can access loader data from entry.server. You can also render anything (including wrapping the <ThemeProvider>) as needed.
<ThemeProvider>
Hope this helps.
This is brilliant Michael - thanks so much for the PR!
I've fixed the theme issue. Here's a video showing it working.
I'm not sure what that React error was at the end there. Something to do with motion after I refreshed on the light theme.
Anyway, as you can see, you can access loader data from entry.server. You can also render anything (including wrapping the
<ThemeProvider>
) as needed.Hope this helps.