Content
@
0 reply
0 recast
0 reaction
Leonardo Zizzamia
@zizzamia
With @onchainkit v0.30 we introduced a small breaking change for <SwapButton>. Moved the `onError` and `onSuccess` lifecycle listeners from the <SwapButton> component to the <Swap> component. Learn more at https://github.com/coinbase/onchainkit/releases/tag/v0.30.0
2 replies
0 recast
11 reactions
Leonardo Zizzamia
@zizzamia
The primary reason for this change is to prepare for enhancing the Swap experience and adding advanced features. Additionally, introducing `onStatus` and the LifeCycleStatus type will allow us to innovate and create a more intuitive onchain design system for developers.
1 reply
0 recast
2 reactions
Leonardo Zizzamia
@zizzamia
As always, for the full changelog, visit: https://github.com/coinbase/onchainkit/blob/main/CHANGELOG.md For any questions, feel free to reach out to @onchainkit or my personal DMs.
0 reply
0 recast
0 reaction