Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flagd-web-provider should fire an event on reconnect #295

Open
toddbaert opened this issue Mar 27, 2023 · 0 comments
Open

flagd-web-provider should fire an event on reconnect #295

toddbaert opened this issue Mar 27, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@toddbaert
Copy link
Member

We probably want to fire a configuration_changed event on reconnect, in case any events have been missed. To keep things from being too chatty, we can do this only if we're currently in a reconnecting state, so that we don't get a redundant event with the initial ready.

https://github.com/open-feature/js-sdk-contrib/blob/main/libs/providers/flagd-web/src/lib/flagd-web-provider.ts#L121-L124

@toddbaert toddbaert self-assigned this Mar 27, 2023
@toddbaert toddbaert added the bug Something isn't working label Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant