useDynamicEvents to subscribe to wallet lifecycle events from the provider and keep UI state in sync.
React
Using the JavaScript SDK? See Wallet Provider Events for the equivalent guide.
Listen for wallet lifecycle events to keep your UI in sync.
useDynamicEvents to subscribe to wallet lifecycle events from the provider and keep UI state in sync.