Skip to main content

DevCycle Next.js SDK

The DevCycle Next.js SDK lets you easily integrate your Next.js applications with DevCycle.

The SDK is available as a package on npm. It is also open source and can be viewed on Github.

Npm package version GitHub

Features

  • full support for App Router and server components
  • keep server and client rendered content in sync with the same variable values
  • realtime updates to variable values for both server and client components
  • support for Suspense streaming rendering with non-blocking variable state retrieval
  • support for static page rendering
  • exclude component code from client bundle when feature is disabled

Limitations

  • Minimum Next.js version: 14.1
  • Minimum React version: 18.2
  • variable evaluations and custom events are only tracked in client components in App Router.