homeroom-live / homeroom

Live streaming for education.
0 stars 0 forks source link

Apollo Mutations update the store #27

Closed hoodsy closed 6 years ago

hoodsy commented 6 years ago

Apollo mutations should update the store in the UI

Example: 1 Class in Dashboard. Create a new Class. Now 2 Classes listed in Dashboard w/o a refresh

maticzav commented 6 years ago

Could you provide more info about this?

hoodsy commented 6 years ago

Previously when I would create a new Class, it didn't immediately populate in list of Classes. I believe updateQuery or something similar is required, like what you've used in onBlur