-
-
Notifications
You must be signed in to change notification settings - Fork 244
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!: deprecate proxyWithHistory #839
Conversation
Adds reference to new npm package and codesandbox demo
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit a9f734d:
|
How about adding console warning to force migrating? valtio/src/vanilla/utils/proxyWithComputed.ts Lines 23 to 27 in 58f17ba
|
ae4da51
to
a9f734d
Compare
updated |
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.
Thanks for your work!
Related Issues or Discussions
Summary
Move
proxyWithHistory
to thevaltio-history
packageThis includes an api change for the utility function.
The
proxyWithHistory
utility withinvaltio/utils
is now marked as deprecated.BREAKING CHANGE:
see valtio-history for change notes and migration guide