Skip to content

Coder plugin: Add documentation for helping users cache state from CoderClient API calls #112

Description

@buenos-nachos

Part of umbrella issue #16. Depends on final implementations of #107 and #114.

Requirements

  • We add documentation for some of the various ways that a user can turn the data returned by CoderClient into React state. We also detail the pros/cons of each approach
    • useEffect + useState
    • useAsync (go-to Backstage recommendation, but usually underpowered for more sophisticated UI)
    • useQuery

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions