ref(flags): Refactor LaunchDarkly integration to reusable functions #14369
Conversation
size-limit report 📦
|
There was a problem hiding this comment.
I imagine we'll want to use this in node/server environments as well, would it make sense to move these to core?
There was a problem hiding this comment.
I think the handler being used in the LD integration is only available for client-side js, that's why this was moved to the browser. Not sure if this will change for other integrations in the future
There was a problem hiding this comment.
Nothing in these util functions are specific to LD integration, it stores flag values to scope. It's possible for a server side implementation to re-use these functions.
There was a problem hiding this comment.
I think the handler being used in the LD integration is only available for client-side js, that's why this was moved to the browser. Not sure if this will change for other integrations in the future
a094ad5 to
d124fef
Compare
Moves core logic into re-usable functions so that we can re-use for other integrations.
39583db to
4195a8e
Compare
Moves core logic into re-usable functions so that we can re-use for other integrations.
…ration feat(flags): Add OpenFeature integration
Moves core logic into re-usable functions so that we can re-use for other integrations.
Depends on #14207