We Cut 70% Bundle Size: TanStack Query + Zustand at GLINR

DEV CommunitySunday, November 2, 2025 at 5:28:10 AM
We Cut 70% Bundle Size: TanStack Query + Zustand at GLINR
At GLINR, the team successfully reduced their bundle size by 70% by switching from Apollo Client to TanStack Query and Zustand. This change was driven by the realization that they were only utilizing about 10% of Apollo's features, leading to unnecessary complexity. By streamlining their technology stack, they not only improved performance but also simplified their development process, which is crucial for enhancing user experience and operational efficiency.
— Curated by the World Pulse Now AI Editorial System

Was this article worth reading? Share it

Recommended Readings
Modal closing on refresh (React + Zustand + sessionStorage)
NeutralArtificial Intelligence
In a recent discussion about web development, a developer shared their experience with managing modal states in React using Zustand and sessionStorage. They aimed to ensure that the modal state persists even after a page reload. However, they encountered an issue where the modal would automatically close upon refreshing the page due to React's remounting behavior. This insight is valuable for developers looking to enhance user experience by maintaining modal states across page navigations and reloads.
This Week In React #256 : Next.js, directives, TanStack | Navigation, EAS, Expo Modules | ArkType, Biome, Svelte, Hono
PositiveArtificial Intelligence
This week's edition of 'This Week In React' celebrates its 256th issue, marking a significant milestone for the newsletter. It's particularly special as Filip joins the team, bringing his expertise from developing Radon IDE to enhance the React Native developer experience. The newsletter also highlights the exciting developments from the recent Next.js conference, showcasing the vibrant and innovative content emerging in the React community. This matters because it reflects the ongoing growth and evolution of React technologies, which are crucial for developers and businesses alike.
Latest from Artificial Intelligence
AI is becoming introspective - and that 'should be monitored carefully,' warns Anthropic
NeutralArtificial Intelligence
Anthropic has raised an important point about the introspection capabilities of AI models. While these advancements could greatly benefit researchers by providing deeper insights into AI behavior, they also come with potential risks that need careful monitoring. As AI continues to evolve, understanding its self-reflective abilities will be crucial in ensuring safety and ethical use.
Who should buy Meta Ray-Bans in 2025? After months of testing, my verdict is two-fold
PositiveArtificial Intelligence
The latest review of Meta's second-generation Ray-Bans reveals that they significantly outperform the original model, showcasing advancements in smart glasses technology. This is exciting news for tech enthusiasts and consumers looking for innovative wearable devices. However, the competition remains fierce, as their top rival also impresses with similar features. This development is crucial as it highlights the growing market for smart eyewear and the potential for enhanced user experiences in the future.
In a reply to Elon Musk's post of "you stole a non-profit", Sam Altman says OpenAI's structure is needed to create "what should be the largest non-profit ever" (Lauren Edmonds/Business Insider)
NeutralArtificial Intelligence
In a recent exchange on social media, Sam Altman responded to Elon Musk's accusation of stealing a non-profit by emphasizing the importance of OpenAI's structure in achieving its ambitious goals. Altman believes that OpenAI is on track to become 'the largest non-profit ever,' highlighting the organization's commitment to advancing artificial intelligence for the benefit of humanity. This conversation underscores the ongoing tensions between the two tech leaders and raises questions about the future direction of AI development.
This $99 gadget can prevent electrical fires at home by doing nothing - how it works
PositiveArtificial Intelligence
A new $99 gadget promises to prevent electrical fires in homes by simply being plugged in. This innovative device offers a sense of security for homeowners, addressing a common concern about fire hazards. Its simplicity and effectiveness could change how we think about fire safety, making it an essential addition to any household.
Pony AI Is Said to Plan Pricing Hong Kong Listing at HK$139
NeutralArtificial Intelligence
Pony AI Inc., a Chinese autonomous driving company, is reportedly planning to price its upcoming Hong Kong listing at HK$139. This move is significant as it reflects the company's strategy to attract investors in a competitive market, showcasing its potential for growth in the autonomous vehicle sector.
Pushing Python to 20,000 Requests Sent/Second
PositiveArtificial Intelligence
A developer has successfully pushed Python to handle an impressive 20,000 requests per second by integrating an async Python script with a Rust-based library and optimizing the operating system settings. This achievement challenges the common perception that Python lacks the capability for high-performance networking. Sharing the full code and test setup on GitHub, this breakthrough not only showcases the potential of Python when combined with other technologies but also opens new possibilities for developers looking to enhance their applications' performance.