flagsmith-js-client
flagsmith-js-client copied to clipboard
Javascript Client for Flagsmith. Ship features with confidence using feature flags and remote config. Host yourself or use our hosted version at https://www.flagsmith.com/
Hey, I'm using Flagsmith with two instances, created using the `createFlagsmithContext`. I have noticed that caching is not working properly when you are running two instances. Indeed, if you look...
At the moment, users who wish to use our es module need to install flagsmith-es. We should combine the modules together. Doing this will also solve an issue with SvelteKit...
Adds a trackEvent function and adjusts the analytics call to support v2.
In an SSR based application we cannot initialise and track RUM events on the server, this means that when the client hydrates we are not calling the corresponding dtrum and...
Currently seeing the below, I think there may be some guard clauses missing before calling "getValue" ``` TypeError: Cannot read properties of null (reading 'getValue') at /var/task/node_modules/.pnpm/[email protected]/node_modules/flagsmith/react.js:1:1616 at Array.map ()...
Using a slightly-modified version of the React example here, I can reproduce the issue below https://github.com/Flagsmith/flagsmith-js-examples/compare/main...rolodato:flagsmith-js-examples-repro-17cf4148:main I'm not sure what's going on here exactly, but you can see in some...
When initializing with a FlagsmithProvider, the value of the flags was an empty object when using useFlagsmith().
Closes #236.
When debugging a hard to reproduce issue where `flagsmith.flags` was randomly `{}`, causing the wrong states to be rendered in our react app, it turned out to be related to...
For `setTrait` and `identity` interfaces, support an optional `transient` argument. When calling the API, add "transient" key/parameter to request data according to schema changes here https://github.com/Flagsmith/flagsmith/issues/4279