-
Notifications
You must be signed in to change notification settings - Fork 172
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release/1.1.0 #27
Merged
Merged
Release/1.1.0 #27
Changes from 12 commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
78df5e2
fix: rm localUrl api
daysai 25faf2b
fix: rm localUrl
daysai 2b6b22c
chore: migrate testing-library
zhuangya bb3d0c8
feat: add AppRoute render/component props
daysai 6be4b9a
Merge pull request #22 from zhuangya/migrate-testing-library
daysai 10cc5d4
fix: fix conflict
daysai df80d50
chore: rm setupFilesAfterEnv
daysai e7cdacc
fix: adjust for cr
daysai 67dd2f0
fix: adjust JS asset to js asset
daysai b0a0a19
fix: rm useless cleanup-after-each
daysai 324f9e9
feat: add AppRouteComponentProps ts
daysai 5b7f6a3
chore: update version
daysai 2e114a5
fix: interface match to Match
daysai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import 'jest-dom/extend-expect'; | ||
import '@testing-library/jest-dom/extend-expect'; | ||
|
||
import { | ||
getBasename, | ||
|
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
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
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
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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
这个为什么移除掉了?
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.
useShadow 重复了,NotFoundComponent 的渲染逻辑放到 AppRouter 层了,原来都交由 AppRoute 自行处理,所以需要透传 NotFoundComponent 属性。 改之后渲染层级上更合理,后续 LoadingComponent、NotFoundComponent 逐步迁移过去(这块迁移成本稍微高一点,预计1.2.0版本完成)