1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-26 05:13:37 +02:00
metamask-extension/ui/app/pages/home
Mark Stacey dbafa49448
Skip render when home page is closing or redirecting (#9012)
The Home page component is responsible for closing the notification
window and triggering redirects in various situations. When this
happens, the home page is briefly rendered before the redirect/close
happens. This is a waste of cycles, and is distracting for users.

We now render nothing if the page is in the process of redirecting or
reloading. None of the redirects handled in this component are for sub-
pages, so we don't need the Home page to render in any of these cases.

We were already doing this for redirects to transaction confirmations,
but now we're taking the same approach for all redirects, and for the
cases where the window is closed.
2020-07-16 15:23:07 -03:00
..
home.component.js Skip render when home page is closing or redirecting (#9012) 2020-07-16 15:23:07 -03:00
home.container.js Use eslint@6.8.0 (#8978) 2020-07-14 12:50:41 -02:30
index.js Folder restructure (#6304) 2019-03-21 20:33:30 -02:30
index.scss Uncomment and fix all auto-fixable stylelint rules (#8989) 2020-07-15 10:13:40 -03:00