@remix-run/react
Advanced tools
Comparing version 1.0.0-rc.2 to 1.0.0-rc.3
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -86,3 +86,3 @@ * Copyright (c) Remix Software Inc. | ||
rel: "noreferrer", | ||
href: "https://remix.run/dashboard/docs/errors" | ||
href: "https://remix.run/guides/errors" | ||
}, "Error Handling in Remix"), "."))))); | ||
@@ -123,5 +123,4 @@ } | ||
target: "_blank", | ||
rel: "noreferrer" // TODO: Update link to docs | ||
, | ||
href: "https://remix.run/dashboard/docs/errors" | ||
rel: "noreferrer", | ||
href: "https://remix.run/guides/errors" | ||
}, "Throwing Responses in Remix"), "."))))); | ||
@@ -128,0 +127,0 @@ } |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -12,3 +12,3 @@ * Copyright (c) Remix Software Inc. | ||
export { RemixBrowser } from './browser.js'; | ||
export { Outlet } from 'react-router-dom'; | ||
export { Outlet, useHref, useLocation, useNavigate, useNavigationType, useOutlet, useParams, useResolvedPath, useSearchParams } from 'react-router-dom'; | ||
export { Form, Link, Links, LiveReload, Meta, NavLink, PrefetchPageLinks, Scripts, useActionData, useBeforeUnload, useFetcher, useFetchers, useFormAction, useLoaderData, useMatches, useSubmit, useTransition } from './components.js'; | ||
@@ -15,0 +15,0 @@ export { useCatch } from './errorBoundaries.js'; |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -94,3 +94,3 @@ * Copyright (c) Remix Software Inc. | ||
rel: "noreferrer", | ||
href: "https://remix.run/dashboard/docs/errors" | ||
href: "https://remix.run/guides/errors" | ||
}, "Error Handling in Remix"), "."))))); | ||
@@ -131,5 +131,4 @@ } | ||
target: "_blank", | ||
rel: "noreferrer" // TODO: Update link to docs | ||
, | ||
href: "https://remix.run/dashboard/docs/errors" | ||
rel: "noreferrer", | ||
href: "https://remix.run/guides/errors" | ||
}, "Throwing Responses in Remix"), "."))))); | ||
@@ -136,0 +135,0 @@ } |
export type { RemixBrowserProps } from "./browser"; | ||
export { RemixBrowser } from "./browser"; | ||
export { Outlet } from "react-router-dom"; | ||
export { Outlet, useHref, useLocation, useNavigate, useNavigationType, useOutlet, useParams, useResolvedPath, useSearchParams } from "react-router-dom"; | ||
export type { FormProps, SubmitOptions, SubmitFunction, RemixNavLinkProps as NavLinkProps, RemixLinkProps as LinkProps } from "./components"; | ||
@@ -5,0 +5,0 @@ export { Meta, Links, Scripts, Link, NavLink, Form, PrefetchPageLinks, ScrollRestoration, LiveReload, useFormAction, useSubmit, useTransition, useFetcher, useFetchers, useLoaderData, useActionData, useBeforeUnload, useMatches } from "./components"; |
34
index.js
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -29,2 +29,34 @@ * Copyright (c) Remix Software Inc. | ||
}); | ||
Object.defineProperty(exports, 'useHref', { | ||
enumerable: true, | ||
get: function () { return reactRouterDom.useHref; } | ||
}); | ||
Object.defineProperty(exports, 'useLocation', { | ||
enumerable: true, | ||
get: function () { return reactRouterDom.useLocation; } | ||
}); | ||
Object.defineProperty(exports, 'useNavigate', { | ||
enumerable: true, | ||
get: function () { return reactRouterDom.useNavigate; } | ||
}); | ||
Object.defineProperty(exports, 'useNavigationType', { | ||
enumerable: true, | ||
get: function () { return reactRouterDom.useNavigationType; } | ||
}); | ||
Object.defineProperty(exports, 'useOutlet', { | ||
enumerable: true, | ||
get: function () { return reactRouterDom.useOutlet; } | ||
}); | ||
Object.defineProperty(exports, 'useParams', { | ||
enumerable: true, | ||
get: function () { return reactRouterDom.useParams; } | ||
}); | ||
Object.defineProperty(exports, 'useResolvedPath', { | ||
enumerable: true, | ||
get: function () { return reactRouterDom.useResolvedPath; } | ||
}); | ||
Object.defineProperty(exports, 'useSearchParams', { | ||
enumerable: true, | ||
get: function () { return reactRouterDom.useSearchParams; } | ||
}); | ||
exports.Form = components.Form; | ||
@@ -31,0 +63,0 @@ exports.Link = components.Link; |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -11,2 +11,2 @@ * Copyright (c) Remix Software Inc. | ||
*/ | ||
export { Form, Link, Links, LiveReload, Meta, NavLink, Outlet, PrefetchPageLinks, RemixBrowser, RemixServer, Scripts, ScrollRestoration, useActionData, useBeforeUnload, useCatch, useFetcher, useFetchers, useFormAction, useLoaderData, useMatches, useSubmit, useTransition } from '@remix-run/react'; | ||
export { Form, Link, Links, LiveReload, Meta, NavLink, Outlet, PrefetchPageLinks, RemixBrowser, RemixServer, Scripts, ScrollRestoration, useActionData, useBeforeUnload, useCatch, useFetcher, useFetchers, useFormAction, useHref, useLoaderData, useLocation, useMatches, useNavigate, useNavigationType, useOutlet, useParams, useResolvedPath, useSearchParams, useSubmit, useTransition } from '@remix-run/react'; |
export type { RemixBrowserProps, FormProps, SubmitOptions, SubmitFunction, FormMethod, FormEncType, RemixServerProps, ShouldReloadFunction, ThrownResponse, LinkProps, NavLinkProps } from "@remix-run/react"; | ||
export { RemixBrowser, Meta, Links, Scripts, Link, NavLink, Outlet, Form, PrefetchPageLinks, ScrollRestoration, LiveReload, useFormAction, useSubmit, useTransition, useFetcher, useFetchers, useCatch, useLoaderData, useActionData, useBeforeUnload, useMatches, RemixServer } from "@remix-run/react"; | ||
export { RemixBrowser, Meta, Links, Scripts, Link, NavLink, Form, PrefetchPageLinks, ScrollRestoration, LiveReload, useFormAction, useSubmit, useTransition, useFetcher, useFetchers, useCatch, useLoaderData, useActionData, useBeforeUnload, useMatches, RemixServer } from "@remix-run/react"; | ||
export { Outlet, useHref, useLocation, useNavigate, useNavigationType, useOutlet, useParams, useResolvedPath, useSearchParams } from "@remix-run/react"; |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -91,2 +91,6 @@ * Copyright (c) Remix Software Inc. | ||
}); | ||
Object.defineProperty(exports, 'useHref', { | ||
enumerable: true, | ||
get: function () { return react.useHref; } | ||
}); | ||
Object.defineProperty(exports, 'useLoaderData', { | ||
@@ -96,2 +100,6 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, 'useLocation', { | ||
enumerable: true, | ||
get: function () { return react.useLocation; } | ||
}); | ||
Object.defineProperty(exports, 'useMatches', { | ||
@@ -101,2 +109,26 @@ enumerable: true, | ||
}); | ||
Object.defineProperty(exports, 'useNavigate', { | ||
enumerable: true, | ||
get: function () { return react.useNavigate; } | ||
}); | ||
Object.defineProperty(exports, 'useNavigationType', { | ||
enumerable: true, | ||
get: function () { return react.useNavigationType; } | ||
}); | ||
Object.defineProperty(exports, 'useOutlet', { | ||
enumerable: true, | ||
get: function () { return react.useOutlet; } | ||
}); | ||
Object.defineProperty(exports, 'useParams', { | ||
enumerable: true, | ||
get: function () { return react.useParams; } | ||
}); | ||
Object.defineProperty(exports, 'useResolvedPath', { | ||
enumerable: true, | ||
get: function () { return react.useResolvedPath; } | ||
}); | ||
Object.defineProperty(exports, 'useSearchParams', { | ||
enumerable: true, | ||
get: function () { return react.useSearchParams; } | ||
}); | ||
Object.defineProperty(exports, 'useSubmit', { | ||
@@ -103,0 +135,0 @@ enumerable: true, |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
{ | ||
"name": "@remix-run/react", | ||
"description": "React DOM bindings for Remix", | ||
"version": "1.0.0-rc.2", | ||
"version": "1.0.0-rc.3", | ||
"repository": "https://github.com/remix-run/packages", | ||
"main": "index.js", | ||
"browser": "browser/index.js", | ||
"dependencies": { | ||
"react-router-dom": "^6.0.2" | ||
}, | ||
"peerDependencies": { | ||
"history": "^5.1.0", | ||
"react": ">=16.8", | ||
"react-dom": ">=16.8", | ||
"react-router-dom": "^6.0.2" | ||
"react-dom": ">=16.8" | ||
}, | ||
@@ -14,0 +15,0 @@ "devDependencies": { |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
/** | ||
* @remix-run/react v1.0.0-rc.2 | ||
* @remix-run/react v1.0.0-rc.3 | ||
* | ||
@@ -4,0 +4,0 @@ * Copyright (c) Remix Software Inc. |
233729
3
6601
+ Addedreact-router-dom@^6.0.2
- Removed@babel/runtime@7.26.0(transitive)
- Removedhistory@5.3.0(transitive)
- Removedregenerator-runtime@0.14.1(transitive)