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
- Host: GitHub
- URL: https://github.com/flagsmith/flagsmith-realtime-example
- Owner: Flagsmith
- Created: 2021-07-02T11:41:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-16T13:18:14.000Z (about 3 years ago)
- Last Synced: 2025-03-28T02:12:13.054Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://flagsmith-realtime-example.vercel.app
- Size: 1.8 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.