Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
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

Copy link
Copy link
@dkwl93

Description

@dkwl93
Issue body actions

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 requestNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.