Skip to content

@query decorator only works with class-based views #2

Description

@openjck

The @query decorator, which is required to use refetch, only works with class-based views, requiring that functional components be wrapped in classes before the decorator can be used.

We should consider updating the decorator to support functional components, if possible. (I have not used JavaScript decorators enough to know if this would be possible.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions