Closed gin-lsl closed 4 days ago
Latest commit: 5d8b6ab54c585604309a2280e353ebd7d11f1774
The changes in this PR will be included in the next version bump.
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
ant-design-web3 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 18, 2024 4:37am |
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.99%. Comparing base (
ff8e95f
) to head (5d8b6ab
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
这里需要你手动改,没有changed的地方好像给不到suggestion
这里需要你手动改
OK,有些事情耽搁了。已修改。
看起来 solana 那边生成的文档有问题,丢失了一些类型。
Issue has been created https://github.com/solana-labs/solana-web3.js/issues/3586
看起来 solana 那边生成的文档有问题,丢失了一些类型。
单独给文档加个pr好了,看看咋补救比较好。
当未提供
connectionConfig
属性值时,由于 ConnectionProvider#config 属性默认值的缘故,会导致多次渲染。最终导致重复发起获取余额的请求。这个 PR 优化了相关逻辑,使用 useMemo 缓存了 ConnectionProvider 需要的 props 来减少渲染次数。
When the connectionConfig prop value is not provided, the default value of the ConnectionProvider#config property causes multiple renders. This eventually leads to duplicate requests for fetching the balance.
This PR optimizes the related logic by using useMemo to cache the props needed by ConnectionProvider, reducing the number of renders.
Before:
💡 Background and solution
🔗 Related issue link