Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore(core): fix filename * feat(nextjs): add ability to fetch catch-all refine page to useParams * chore: update `refine-next` example with catch-all route * refactor(core): update action types * fix: check `options.route` for `resource.parentName` * feat(nextjs): add ability to parse catch-all refine route * chore(refine-next-example): remove unused * chore: add changesets * feat(nextjs): add initial route support to nextjs-router * chore: add initialRoute comment to refine-next * chore: add eslint ignore for unused vars * feat(react-router-v6): add `initialRoute` for `routerComponent` * refactor: replace `React.ReactNode` with `JSX.Element` * chore: add changesets * fix(react-router-v6): non declared `this` issue * chore: upgrade to `@tanstac/react-location` * feat(react-location): add fallback route support * feat: add `initialRoute` support * chore: add changeset * fix: unused-var `children` * feat: add `handleRefineParams` helper to `refine-nextjs-router` * chore: use `handleRefineParams` helper to `refine-nextjs-router` * chore: add changeset * feat(remix): add ability to parse splat params for refine * feat(remix): add ability to change initial route for refine * chore(react-location): add comment * chore(remix): update examples with splat * chore(base): add comment * chore(examples): move react-location example to top * docs(examples): update react-location example path * chore: add changeset * chore: fix typo Co-authored-by: Ömer Faruk APLAK <omer@pankod.com> * fix: `handleRefineParams` return type * docs(routers): add `initialRoute` section to `router-provider` docs * docs: add splat and catch-all support to docs Co-authored-by: Ömer Faruk APLAK <omer@pankod.com>
- Loading branch information
Showing
81 changed files
with
1,060 additions
and
504 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@pankod/refine-core": patch | ||
--- | ||
|
||
Fixed the issue in resource routes not taking `options.route` of parent resource into account. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@pankod/refine-react-router-v6": minor | ||
--- | ||
|
||
Added ability to manage the initial route of **refine** by binding `initialRoute` variable to `RouterComponent` component. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@pankod/refine-nextjs-router": minor | ||
--- | ||
|
||
Added `handleRefineParams` helper function to handle catch-all refine params. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@pankod/refine-core": minor | ||
--- | ||
|
||
Combine action related types into a single file and derive types from it to avoid future inconsistencies. | ||
|
||
Renamed `RedirectionTypes` type to `RedirectAction`. | ||
|
||
Updated every type definition of actions to use the new `Action` type or derivations of it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@pankod/refine-remix-router": minor | ||
--- | ||
|
||
Added ability to manage the initial route of **refine** by binding `initialRoute` variable to `RemixRouteComponent` component. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@pankod/refine-remix-router": minor | ||
--- | ||
|
||
Add splat route support to remix with `handleRefineParams` helper. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@pankod/refine-nextjs-router": minor | ||
--- | ||
|
||
Added ability to parse catch-all refine route in Next.js router. This way, instead of creating multiple pages, users can only create one page at the root `[[...refine]].tsx` and handle all params for the app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@pankod/refine-react-location": minor | ||
--- | ||
|
||
Added ability to manage the initial route of **refine** by binding `initialRoute` variable to `RouterComponent` component. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@pankod/refine-nextjs-router": minor | ||
--- | ||
|
||
Added ability to manage the initial route of **refine** by binding `initialRoute` variable to `NextRouteComponent` component. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@pankod/refine-react-location": minor | ||
--- | ||
|
||
Added support for fallback/404 with `catchAll` and `ErrorComponent`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
ee4d0d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Deployed on https://deploy-preview-antd-2486--refine-doc-preview.netlify.app
ee4d0d1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀 Deployed on https://deploy-preview-mui-2486--refine-doc-preview.netlify.app