Case Study
Travel & Hospitality
Chrome DevToolsReact 18React.lazy() + Suspense
When the client connected with us, they mentioned that the slow and outdated interface is the primary reason they are losing users. But we knew that the slow UI is a symptom, not a cause.
We ran a thorough audit of the site, and we identified the following issues behind it:
Analyzing Google's Page Speed Insights report, we identified that the Interaction to Next Paint (INP) score was 380ms. Compared to Google's good threshold of 200ms, it was inferior.
The same INP issue was also a threat to the platform's organic reach on Google, as it became one of the ranking factors according to Google's algorithm update in March 2024.
A significant delay in interaction during the crucial initial click was affecting the user experience. Users seemed to jump to another site while it was loading, and they never returned as the other sites answered their concerns.
When the layout of a web page was being resized, the browser repeatedly recalculated the layout to ensure it was optimized for the new size. It led to unnecessary and repeated updates of the page content, disrupting the user experience and causing performance issues.
The majority of the client's platform users are mobile users. Mobile performance was greatly affected by large JavaScript bundle sizes.
Our project manager assembled a team with diverse skill sets to address the issues effectively and give the client a competitive edge over their competitors.
The team dealt with the issue one after the other:
Performance Profiling and Analysis:
Code Optimization Strategies:
React 18 Upgrade
Once all possible issues related to slow speed and user loss were addressed, our QA expert audited the entire site. We were now confident with the bug-free platform, waiting for the users to come and experience the improved performance.
The client shared the results with us after a month, and he seemed very happy with the results he had achieved, including the increased traffic and sales. For regular maintenance and quick fixes, they hired one senior and one junior developer dedicated to working on their platform.
Frontend Framework
React, React 18 (Concurrent Features)
Performance Analysis
Chrome DevTools Performance Panel, Lighthouse
State Management
Redux (with selector optimizations)
Routing
React Router (optimized with window.location)
INP improved dramatically from 380ms to 175ms (well under Google's 200ms threshold).
Initial JavaScript payload reduced by 60%.
Eliminated unnecessary re-renders as shown in React profiler.
Desktop performance improved to 93%, and mobile performance improved to 90%.
User feedback indicated a noticeably more responsive interface.
According to GA4 reports, the bounce rate reduced by 7% and the average engagement rate per user increased by 30 seconds.
One-stop solution for next-gen tech.