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

Initialization only from the LocalStorage without fetching flags #239

Open
bufferings opened this issue Feb 14, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@bufferings
Copy link

Is your feature request related to a problem? Please describe.

In some cases, I want to restore flags from the LocalStorage without fetching the flags from the internet.
It would be great if there's such an option.

I want to update the flags only when a user logs in to my service,
and I need to show another tab to show my application for the user, but I don't want LD to refetch the flags, but want it to use the flags in the LocalStorage.

So it would be great if there's an init option using LocalStorage without fetching flags.

Thanks,

@yusinto
Copy link
Contributor

yusinto commented Feb 29, 2024

Thank you for your request. We are in progress of making major updates to our js sdks including the React SDK. In a future version, the React SDK should support offline mode, much like the react-native SDK. There's no eta at this time but we will update this issue when it's ready.

@yusinto yusinto added the enhancement New feature or request label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants