React SDK doc states it works only on client side (browser). Is there a way to use it for SSR (Server Side Rendering)?
As stated, the React SDK supports only Browser side. In React development, to run the SDK on server side, we have to use the NodeJS SDK.
One of the popular libraries for SSR is using Next.js library. The example in this Knowledge Base shows both SDK rendering in browser and server modes, browser side uses React SDK and server side uses Node SDK. In reality, there is no need to have both rendering modes in one app, the example is simply showing how to use both types of rendering.
Please sign in to leave a comment.