Update state of route after submitting the form
I am pretty new to whole TanStack. I have started to use Router and Form which I like both very much.
I am using tRPC for loading data into routes and I would like to use tRPC for Form submissions as well. But everytime I submit some data the page does not reload the state.
I might be missing something like maybe Query here?
Currently the tRPC is injected to my router through Context according to this example: https://tanstack.com/router/latest/docs/framework/react/examples/with-trpc
In the Form I use just
trcp variable which is exported like this:eg. then in Form I use it like this:
Do I need to use Query here or is there any other way to revalidate data on page? When I refresh or navigate to the same page it works but I guess there is better way to do this
