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
{{ message }}
This repository has been archived by the owner on Mar 11, 2024. It is now read-only.
Recently, we're working some DApp project (love Drizzle !).
But, we noticed that when we uses DrizzleProvider under Route components, some misbehavior happens.
Have tried two approach:
Using one DrizzleProvider in each sub component in Route
Got errors that the Provider states will never update, even use code to force refresh the state will stay on "uninitialized." Until we manually refresh browser via F5 to have "initialized" state. (Which is not ideal for user experience)
Usng DrizzleProvider as one shared global provider
Never able to get this one work, when ever the page is loaded. Will always get into "Maximum update depth exceeded" error. Which is causing the parent page keep on re-rendering indefinitely.
Sort of running out of ideas about what causes incompatibility between DrizzleProvider and Route components.
What would be a workaround for this?
Thank you very much for your time and your help!
The text was updated successfully, but these errors were encountered:
Hi,
Recently, we're working some DApp project (love Drizzle !).
But, we noticed that when we uses DrizzleProvider under Route components, some misbehavior happens.
Have tried two approach:
Got errors that the Provider states will never update, even use code to force refresh the state will stay on "uninitialized." Until we manually refresh browser via F5 to have "initialized" state. (Which is not ideal for user experience)
Never able to get this one work, when ever the page is loaded. Will always get into "Maximum update depth exceeded" error. Which is causing the parent page keep on re-rendering indefinitely.
Sort of running out of ideas about what causes incompatibility between DrizzleProvider and Route components.
What would be a workaround for this?
Thank you very much for your time and your help!
The text was updated successfully, but these errors were encountered: