Skip to content

How to navigate after "create" mutation to page for new entity (react-router) #1535

Answered by markerikson
ChuckJonas asked this question in Q&A
Discussion options

You must be logged in to vote

You can definitely "await and redirect" if you'd like - you can see an "await the mutation" example in this section:

https://redux.js.org/tutorials/essentials/part-7-rtk-query-basics#using-mutation-hooks-in-components

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ChuckJonas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants