Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[react-router-dom] Expose UNSAFE context components#4553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Merged
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
add route context
  • Loading branch information
Brian Chen committedNov 24, 2023
commit2b9ade548c26abb7d90f7d438d2d7e94607e6916
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -608,6 +608,14 @@ declare module 'react-router-dom' {

declare export var UNSAFE_LocationContext: React$Context<LocationContextObject>;

declare export type RouteContextObject = {|
outlet: React$Node,
matches: Array<any>,
isDataRoute: boolean,
|};

declare export var UNSAFE_RouteContext: React$Context<RouteContextObject>;

declare export type IndexRouteObject = {|
caseSensitive?: AgnosticIndexRouteObject['caseSensitive'],
path?: AgnosticIndexRouteObject['path'],
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp