-
Notifications
You must be signed in to change notification settings - Fork 38
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
[MDS-5609] Minespace Loading 🚄🏍🏎️💨🏁⚡ #2799
Conversation
5c3b215
to
573cd5e
Compare
return ( | ||
<div id="loading-screen"> | ||
<div id="loader"> | ||
<Lottie options={defaultOptions} /> | ||
<img src={LOADER} alt="Loading" /> |
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.
🙌
I will not miss the Lottie-related console errors!
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.
🚀
import IncidentSuccessPage from "@/components/pages/Incidents/IncidentSuccessPage"; | ||
import { UsersPage } from "@/components/pages/UsersPage"; | ||
const DamsPage = React.lazy(() => import("@common/components/tailings/dam/DamsPage")); | ||
const InformationRequirementsTablePage = React.lazy(() => |
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.
Yay lazy loading!
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.
🚀
Objective
MDS-5609
What?
Bunch of configuration and app tweaks to improve loading speed of minespace.
Bundle analyzer
Before
After
TODO:
http/2