How do you manage the state vars when the vars are much #176
Unanswered
joshajiniran
asked this question in
Q&A
Replies: 1 comment
-
|
The queries look correct - but you want to set the Try changing the state to something like this: So normally for our forms, we kind of repeated the model fields in the state. But since you have so many, this would be a pain. We will include a way to make this easier. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the case of having a User model with up to 15 fields and I would like to have a UserState, what is the best way to set/access the fields by querying the db for the user
I'd appreciate some guidance, am I doing it right?
Beta Was this translation helpful? Give feedback.
All reactions