I tried creating a PR for a nextjs example when using clevertap-web-sdk.
This is because the current module is designed to be used on client-side, which causes issues on next components server-side.
Our solution (seems a bit hacky but) is to asyncly import the module on demand.
I simplified the example enough, without the use of any context management. Hopefully they merged it! 😅
I might create another project but with added context or other state manager integration, cause I haven't tried creating a react-component module yet! Soon!