This repository was archived by the owner on Oct 29, 2024. It is now read-only.

Description
Is your feature request related to a problem? Please describe.
I was wondering if there was a way to fetch the flag state synchronously (based on cached values). I've gone through the documentation and example application and each evaluation seems to return a promise.
We use feature flags to flag navigation so It's important to us for flag evaluations to be instant.
Describe the solution you'd like
Synchronous way of fetching flag state (boolean)
Describe alternatives you've considered
Hand rolling a caching system with redux and redux-persist that gets written on launch with allFlags() and gets overwritten each time a flag changes.
Additional context
React native