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

Update exercise after updates #438

Open
rolandgeider opened this issue Sep 21, 2022 · 0 comments
Open

Update exercise after updates #438

rolandgeider opened this issue Sep 21, 2022 · 0 comments
Labels
backend Needs changes in the backend/API

Comments

@rolandgeider
Copy link
Member

rolandgeider commented Sep 21, 2022

At the moment changes to an exercise are sent to the server, but aren't reflected locally. We should set the appropriate mutations in the code anyway so that the exercise is fetched from the server. However, at the moment this result is cached and would not make much impact, since we cache the whole API response and would need to add some more logic there

https://tanstack.com/query/v4/docs/guides/mutations
https://tkdodo.eu/blog/mastering-mutations-in-react-query

@rolandgeider rolandgeider added the backend Needs changes in the backend/API label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Needs changes in the backend/API
Projects
None yet
Development

No branches or pull requests

1 participant