-
Notifications
You must be signed in to change notification settings - Fork 3
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
refactor: use options
as second parameter
#5
Conversation
b096543
to
f4b7d5a
Compare
BREAKING CHANGE: This replaces skipSubscribe with options to configure proxyWithHistory
f4b7d5a
to
f825975
Compare
You can keep supporting boolean value and show deprecation warning. |
updated |
1d69722
to
4f9d4fc
Compare
options
as second parameteroptions
as second parameter
0bd30b9
to
7853d84
Compare
7853d84
to
074715f
Compare
if one needs more control then they have to create their own subscribe process and skip the internal one |
926da52
to
dd0bb77
Compare
20dbf8f
to
cc2342e
Compare
@@ -0,0 +1,7 @@ | |||
const isProduction = import.meta?.env?.MODE === 'production'; |
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.
This doesn't work well for minification. We should simply have inline if (...)
.
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.
updated
3be6c1f
to
2a3e990
Compare
2a3e990
to
30f7da3
Compare
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.
just reviewed packages/history-utility/src/history-utility.ts
.
proxyWithHistory