You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With defineRoute being a really convenient method for type inference, I almost exclusively use this helper method.
I found it falls short for pages with forms, where it is supposed to go stale when navigated away, a common practise would be adding Cache-Control: no-cache, no-store, must-revalidate.
Is it possible to allow custom headers when returning a component from the helper?
The text was updated successfully, but these errors were encountered:
With
defineRoute
being a really convenient method for type inference, I almost exclusively use this helper method.I found it falls short for pages with forms, where it is supposed to go stale when navigated away, a common practise would be adding
Cache-Control: no-cache, no-store, must-revalidate
.Is it possible to allow custom headers when returning a component from the helper?
The text was updated successfully, but these errors were encountered: