Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@devcycle/react-client-sdk

Package Overview
Dependencies
Maintainers
6
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devcycle/react-client-sdk

The DevCycle React SDK used for feature management.

  • 1.23.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.3K
decreased by-11.23%
Maintainers
6
Weekly downloads
 
Created
Source

DevCycle React SDK

The React 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 React SDK provides first-class support for flagging in React applications. It contains hooks for reading flag values and re-rendering components when those values change:

import { useVariableValue } from '@devcycle/react-client-sdk';

export function MyComponent() {
    const myVariableValue = useVariableValue('myVariable', false);
    return (
        <div>
            {myVariableValue ? 'Variable is true!' : 'Variable is false!'}
        </div>
    )
}

This SDK depends on the fetch API.

Usage

To find usage documentation, visit our docs.

Keywords

FAQs

Package last updated on 16 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc