You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The core sdk allows you to use multiple flagsmith instances via creatFlagsmithInstance(), however the provider only allows for 1 single instance. Instead we should allow defining a "domain" as openfeature calls it.
Proposed syntax: note this suggestion adds an overload where useFlags takes an object rather than passing yet another parameter, we can keep this backwards compatible.
<FlagsmithProvider domain="a"> // since openfeature calls it a domain
useFlags({flags:[],domain:"a"})
useFlagsmith({domain:"a"})
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The core sdk allows you to use multiple flagsmith instances via creatFlagsmithInstance(), however the provider only allows for 1 single instance. Instead we should allow defining a "domain" as openfeature calls it.
Proposed syntax: note this suggestion adds an overload where useFlags takes an object rather than passing yet another parameter, we can keep this backwards compatible.
The text was updated successfully, but these errors were encountered: