How do you manage the state vars when the vars are much #176
joshajiniran
announced 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
-
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