0👍
✅
Here’s a sample using Chart.js with Remix.
https://stackblitz.com/edit/remix-run-remix-dbe16z?file=README.md
Since Remix renders your components on the server as well as the client, some React components are not SSR-friendly. They may try to access the window
object, for example.
We wrap the chart components inside the <ClientOnly>
component from remix-utils
.
Source:stackexchange.com