Skip to content

query+react-router: useMutation vs. router action? #4560

Answered by TkDodo
joeltamkin asked this question in Q&A
Discussion options

You must be logged in to vote

In the example as well as my blog post, I'm not using mutations - just the router actions. There likely isn't much need to use mutations unless you have more complex scenarios that the router actions cannot handle.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@joeltamkin
Comment options

@ofcljaved
Comment options

Answer selected by joeltamkin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants