Replies: 1 comment 1 reply
-
nivo supports server side rendering, there's even a static HTTP API for rendering charts statically (experimental package), however I don't know how Next.js handle this, I have a very limited experience with Next.js. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Recently I was bothered that the charts take almost 2 seconds longer to load than the page itself, as I currently use the "use client" directive at the top of my file that exports the function to return the chart, I did this because when I don't put it The exception of "createContext only works in Client Components" occurs, I saw in the FAQ that Nivo supports SSR, but how can I make this work?
My Code:
Beta Was this translation helpful? Give feedback.
All reactions