Comments (5)
The example you provided is not minimal. Please attach a minimal reproduction that only uses Wagmi/Viem without third-party connect libraries.
from wagmi.
@tmm ,i have tested using wagmi next playground example , same issue is being encountered .
- code :- https://github.com/arunkumar201/wagmi/tree/wallet-disconnect-issue-ssr
- demo :- https://wagmi-gz40.onrender.com/
from wagmi.
Updated the SSR guide: https://wagmi.sh/react/guides/ssr#persistence-using-cookies
from wagmi.
thanks @tmm, same issue still persists: When connecting on the home page and then navigating to any dynamic page, a hard refresh on the dynamic page causes problems. If we disconnect the wallet, return to the home page, reconnect the wallet, and refresh the page, the wallet disconnects again. The 'wagmi.io.metamask.disconnected' cookie value remains true and does not get updated. This issue was tested on the latest Next.js playground example using the updated version of getConfig() .
from wagmi.
Updated the SSR guide: https://wagmi.sh/react/guides/ssr#persistence-using-cookies
still wallet is getting disconnected - #4073 (comment)
from wagmi.
Related Issues (20)
- Disconnected session cookie not removed after connecting again HOT 1
- useReadContract is not updating data on some computers/browsers but not others with identical code HOT 4
- Foundry wagmi generate broken with duplicate contract names from forge-std HOT 1
- Metamask sdk unhandled error : packages/connectors/src/metaMask.ts HOT 2
- CLI does not exclude testing contracts & exclude option broken HOT 1
- How do I get the provider after the wallet is linked HOT 2
- Metamask connetor not working via CDN HOT 2
- Coinbase connector throwing 401 error code HOT 1
- connectAsync gets stuck with Metamask connector
- coinbaseWallet > appLogoUrl not working and default favicon url won't add `/` after domain HOT 2
- hook useSimulateContract always fails if maxFeePerGas and maxPriorityFeePerGas are provided
- @wagmi/vue version 0.0.25, cannot detect Connection Status HOT 2
- Dangerous 3rd party dependency HOT 2
- WalletClient type mismatching HOT 1
- Mock connector not able to send transaction? HOT 1
- Injected connector: multiple addresses connection mismatches currently selected account
- Depending on vulnerable package caused by mipd 0.0.5 HOT 4
- Depending on vulnerable package ws 8.13.0 HOT 3
- Error: connector.getChainId is not a function
- Wagmi cli foundry plugin defaultExcludes list is replaced when specified HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wagmi.