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

2.0.1 • 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

455

Version

2.0.1

License

MIT

Unpacked Size

98.1 kB

Total Files

95

Last publish

Collaborators

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