File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed
Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @remix-run/react " : patch
3+ ---
4+
5+ Export ` Response ` helpers (` defer ` /` json ` /` redirect ` /` redirectDocument ` ) through ` @remix-run/react ` for use in ` clientLoader ` /` clientAction `
Original file line number Diff line number Diff line change 1- export type { RemixBrowserProps } from "./browser" ;
2- export { RemixBrowser } from "./browser" ;
31export type {
42 ErrorResponse ,
53 Fetcher ,
@@ -52,7 +50,16 @@ export {
5250 unstable_usePrompt ,
5351 unstable_useViewTransitionState ,
5452} from "react-router-dom" ;
53+ export {
54+ // For use in clientLoader/clientAction
55+ defer ,
56+ json ,
57+ redirect ,
58+ redirectDocument ,
59+ } from "@remix-run/server-runtime" ;
5560
61+ export type { RemixBrowserProps } from "./browser" ;
62+ export { RemixBrowser } from "./browser" ;
5663export type {
5764 AwaitProps ,
5865 RemixNavLinkProps as NavLinkProps ,
You can’t perform that action at this time.
0 commit comments