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

Fetch flag state synchronously #49

@dkwl93

Description

@dkwl93

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions