You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've introduced a new KameleoonProviderSSR, which is now the recommended way to use React with any server-side rendering (SSR) framework.
Instead of requiring a manually created KameleoonClient, this new provider accepts SDKParameters and automatically creates a KameleoonClient instance upon first use.
To avoid unexpected issues, make sure that all calls to KameleoonClient methods happen inside a useEffect (or an equivalent hook) — check our code examples for guidance.
We strongly recommend migrating to this new provider to ensure compatibility with both Next.js routing systems: the Pages Router and the App Router.