-
Notifications
You must be signed in to change notification settings - Fork 1.6k
chore: upgrade valtio to v2 #4358
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
11 Skipped Deployments
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Coverage Report
File CoverageNo changed files found. |
🦋 Changeset detectedLatest commit: 30f9b41 The changes in this PR will be included in the next version bump. This PR includes changesets to release 23 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
f97d434 to
d9a38d4
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.
Bug: Missing Project ID in Config Causes Initialization Failures
The projectId: ConstantsUtil.ProjectId property was accidentally omitted from the config object during the refactoring from createAppKit to AppKitProvider. As projectId is a required AppKit configuration property, its absence will cause initialization failures and runtime errors. Other similar files in this commit correctly retain the projectId.
apps/laboratory/app/library/multichain-ethers5-solana/page.tsx#L28-L36
appkit/apps/laboratory/app/library/multichain-ethers5-solana/page.tsx
Lines 28 to 36 in 30f9b41
| const config = { | |
| adapters: [etherAdapter, solanaWeb3JsAdapter], | |
| networks, | |
| defaultNetwork: mainnet, | |
| customWallets: ConstantsUtil.CustomWallets, | |
| termsConditionsUrl: 'https://reown.com/terms-of-service', | |
| privacyPolicyUrl: 'https://reown.com/privacy-policy' | |
| } |
Was this report helpful? Give feedback by reacting with 👍 or 👎
|
@enesozturk Are we exposing valtio state somewhere publicly? We shouldn't do it directly, but if we do, do the customers need to use |
We are exposing state only via hooks and plain JS functions, but the using |
Description
Upgrades Valtio to v2. Valtio v2 is compatible with v1. Only difference is that we should be wrapping values with
refif they are non plain objects. In this PR, it's updating some pages in laboratory to useAppKitProviderand updates ThemeStore and AppKitStore to useref()Type of change
Associated Issues
For Linear issues: Closes APKT-3151
For GH issues: closes #...
Showcase (Optional)
If there is a UI change include the screenshots with before and after state.
If new feature is being introduced, include the link to demo recording.
Checklist