You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm new here and need some explanations and clarifications. I find it very useful to show users some data even if they are disconnected and here is how I see it.
Why does it matter?
Show meaningful read-only data (like token prices, contract states, or balances) immediately.
Provide a smoother, more engaging user experience before wallet connection.
Avoid UI blank states or errors caused by “no chain selected.”
Flow example:
You set up default chain id in the config (e.g. like defaultChain).
Adding e.g. allowDisconnected meta tag in a necessary read hook.
If user is disconnected and its a read function, user will get expected data from default chain.
Implementation:
Please leave your feedback and share any misunderstandings I may have.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there Wagmi progressive community,
I'm new here and need some explanations and clarifications. I find it very useful to show users some data even if they are disconnected and here is how I see it.
Why does it matter?
Flow example:
defaultChain
).allowDisconnected
meta tag in a necessary read hook.Implementation:

Please leave your feedback and share any misunderstandings I may have.
With love 🧡
Beta Was this translation helpful? Give feedback.
All reactions