-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix browser initial loading performance #1568
Fix browser initial loading performance #1568
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a great solution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA Passed 👍
hi @andrepimenta, do we public InpageBridgeWeb3 file? I want to inject window.ethereum manually for my dapps browser personal |
* Fix browser initial loading performance * Update test Co-authored-by: Ibrahim Taveras <ibrahimtaveras00@gmail.com>
Description
This fixes the browser initial load performance issue. The initial loading was being delayed mainly because:
InpageBridgeWeb3
from the Filesystem which is very slow. The fix was creating a helper that gets theInpageBridgeWeb3
on app init asynchronously so that when the user gets to the browser it is already loaded.This should make the time between the mounting of the browser component and the beginning of the loading be almost instantaneous.
Checklist
Issue
Resolves #1543