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

Config-cat-web causes infinite rerenders with @openfeature/react-sdk #1212

Open
juandelacruz23 opened this issue Feb 14, 2025 · 0 comments
Open

Comments

@juandelacruz23
Copy link

Testing the ConfigCat provider, it's causing infinite rerenders when the key doesn't exist. As far as I'm aware, per the spec, when an error occurs, the default value must be returned, which for the InMemoryProvider happens, but not with Config Cat's.

Image

If you want to reproduce the issue, you can use juandelacruz23/openfeature-configcat-error. You can create your own sdk key at https://app.configcat.com/auth/startnow and supply it through a .env.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant