Next js server actions

Hi, its my first time using server actions, i always use an api and make requests using react query, So I'm used to handling query invalidations, through react query, and now using actions, to simplify my code base, since it's a very simple project, would this be the best way to update data after removing files? by the way, does the code structure look correct?
1 Reply
devve2kcc
devve2kccOP4d ago
No description

Did you find this page helpful?