An open API service indexing awesome lists of open source software.

https://github.com/flagsmith/flagsmith-realtime-example

Flagsmith Realtime demo with SSE
https://github.com/flagsmith/flagsmith-realtime-example

Last synced: 7 months ago
JSON representation

Flagsmith Realtime demo with SSE

Awesome Lists containing this project

README

          

# Realtime Flagsmith Example

This project demonstrates how you can use Flagsmith's realtime SSE feature.

## Install
```
npm i
```

## How it works

**/components/FlagsmithBlock.js**
- Initialises its own instance of flagsmith and identifies as a unique user.
- The Flagsmith instance is initialised with ``{realtime:true}``
- The SDK instance will receive new feature evaluations when they are adjusted in the dashboard.