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

🐛 page refreshes after calling /api/tasks/completed #91

Open
marco-souza opened this issue Mar 27, 2024 · 0 comments
Open

🐛 page refreshes after calling /api/tasks/completed #91

marco-souza opened this issue Mar 27, 2024 · 0 comments
Milestone

Comments

@marco-souza
Copy link
Contributor

marco-souza commented Mar 27, 2024

Description

The dashboard does a full reload after checking one task.

The code is:

  • calling api/tasks/completed
  • after that, the page does a reload for updating the task list

Possible solutions

  1. use react-query
  2. move to server action ⭐️
@marco-souza marco-souza changed the title BUG: page refreshes after calling /api/tasks/completed 🐛 page refreshes after calling /api/tasks/completed Mar 27, 2024
@marco-souza marco-souza added this to the Post Release milestone Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant