Skip to content

needs loading flag that whether ld has fetched flags #126

Open
@sudokzt

Description

@sudokzt

Is your feature request related to a problem? Please describe.
I would love to wait until what LD fetches flags.
In current, I'm realizing it with flag state that returns value by useFlags().

Describe the solution you'd like
I'm looking forward to return loading value from useFlags().

Describe alternatives you've considered
In current, useFlags returns only flags. And whether the LD got the flag is checked by whether the value of useFlags() is null.
But, it's unintuitive. So I want a loading flag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions