@devcycle/nextjs-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.9.0 • Public • Published

DevCycle Next.js SDK

The Next.js SDK for DevCycle!

DevCycle is a feature flag management provider with robust support for user targeting, realtime updates of flag values and deep integrations with your development workflow.

The Next.js SDK provides first-class support for flagging in Next.js applications. It supports both the App Router and Pages Router, and includes the following 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

This SDK depends on the fetch API.

Usage

To find usage documentation, visit our docs.

Package Sidebar

Install

npm i @devcycle/nextjs-sdk

Homepage

devcycle.com

Weekly Downloads

701

Version

1.9.0

License

MIT

Unpacked Size

100 kB

Total Files

98

Last publish

Collaborators

  • devcycleuser
  • jonathannorris
  • elottap
  • jstapl
  • rohit-tap
  • taplyticsuser