Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tracked by #16
Parkreiner opened this issue Apr 8, 2024 · 0 comments · Fixed by #133
Closed
Tracked by #16
Labels
documentation Improvements or additions to documentation

Comments

@Parkreiner
Copy link
Collaborator

Parkreiner commented Apr 8, 2024

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
@coder-labeler coder-labeler bot added the documentation Improvements or additions to documentation label Apr 8, 2024
@Parkreiner Parkreiner changed the title Coder plugin: Add documentation and/or tools for helping users cache state from function calls Coder plugin: Add documentation and/or tools for helping users cache state from CoderClient API calls Apr 8, 2024
@Parkreiner Parkreiner changed the title Coder plugin: Add documentation and/or tools for helping users cache state from CoderClient API calls Coder plugin: Add documentation for helping users cache state from CoderClient API calls Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant