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

Use "Var" suffix for reactive variable names #7240

Merged
merged 3 commits into from
Oct 26, 2020

Conversation

lorensr
Copy link
Contributor

@lorensr lorensr commented Oct 26, 2020

Do we want to recommend/model this convention? It's used in the examples on this page: https://www.apollographql.com/docs/react/local-state/managing-state-with-field-policies/

Alternatives are no recommendation on naming, or a different rec, like reactiveCartItem.

@StephenBarlow
Copy link
Contributor

This convention looks good to the team! Making a note to add a separate line to this article encouraging it.

@StephenBarlow StephenBarlow merged commit 1d0187d into apollographql:main Oct 26, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants