Client-side live flag updates
Flag changes now take effect immediately in your application.

We previously shipped live flag updates for our server SDKs. With this release, we’re bringing the same real-time behavior to browsers and mobile apps.
Live updates are especially useful when you need to roll back a faulty feature quickly. They also make testing and rollouts much clearer: when you update a flag, you no longer have to wonder when that change will show up in your app.
Under the hood, the SDK connects to Reflag on initialization and subscribes to updates using server-sent events. When a flag changes, the SDK receives the update automatically and applies it without requiring a page reload or app restart.
For React, Vue.js and React Native live flag updates are enabled by default in the newly released SDKs. The browser-sdk keeps live updates disabled by default
We've also consolidated the endpoints that our client SDKs talk to. This means if you were using a Content Security Protocol on your web app, you now only have to whitelist https://front.reflag.com. See the individual changelogs below for details and the updated CSP documentation.
Upgrade to the latest SDK versions to start using live flag updates:
- @reflag/react-sdk: 1.5.1: (changelog)
- @reflag/react-native-sdk: 0.2.1: (changelog)
- @reflag/vue-sdk: 1.4.1: (changelog)
If you’re bootstrapping flags from your backend, make sure to upgrade the node-sdk as well:
- @reflag/node-sdk: 1.7.0: (changelog)