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
I'm not sure if this is covered in the code but it really should be... The flags client has been designed to match the existing implementation in n-ui. This is because we have a number of n- components and existing app integrations which expect a .get(flagName) method which returns the current value.
Consideration for
@financial-times/dotcom-ui-flags
in the next major version.We could change the methods to be more domain specific, e.g.
At the moment with the method only being
get
, that could also mean get the full flag model, rather than only the state.The text was updated successfully, but these errors were encountered: