I’ve been reviewing how long it takes for React state-management libraries to “take off” in terms of weekly downloads and growing adoption. In this post I’m sharing some data to say thank you to the devs who use or have tried use-s-react. Here are some comparisons: 1- @reduxjs/toolkit: Around 6 years old, more than 7 million weekly downloads, size ~13.8 kB gzipped, currently version 2.10.1. 2- zustand: About 7 years old, more than 13 million weekly downloads, version 5.0.8, size ~603 B gzipped. 3- jotai: Roughly 5 years old, over 2 million weekly downloads, version 2.15.1, size ~4.3 kB gzipped. 4- And now use-s-react: Version 2.4.0, size ~2.7 kB gzipped, no additional dependencies, very young at ~5 months, with ~271 weekly downloads so far. Thank you to everyone who is trying this tool. I’d love to hear from you — leave a comment or send me a message with what you’d like useS to include next, or any constructive feedback you’d like to share. #React #StateManagement #JavaScript #WebDevelopment #Frontend #ReactJS #OpenSource #Zustand #ReduxToolkit #Jotai #useS #ReactHooks #DevCommunity #Coding #Innovation #WebDev #Performance #NextJS #React19 #DeveloperTools
Comparing React State-Management Libraries: Redux, Zustand, Jotai, and use-s-react
More Relevant Posts
-
⚛️ React never stops amazing me! Every time I dive deeper, I find new techniques that make building UIs smoother, faster, and more enjoyable. Some of my personal favorites lately: ✨ Component composition – Crafting small, reusable pieces that come together beautifully. ⚙️ Custom hooks – Turning repeated logic into clean, shareable functions. 🎯 Performance optimization – Using memo, useCallback, and lazy loading the smart way. 🧩 Context patterns – Managing app-wide state without unnecessary re-renders. 🚀 Code splitting – Keeping apps lightweight and fast with dynamic imports. React is not just a library — it’s a mindset of modular, declarative, and flexible development. What’s your favorite React trick or pattern that makes your code shine? 💬 #ReactJS #FrontendDevelopment #WebDevelopment #JavaScript #ReactHooks #Coding #SoftwareEngineering #UIUX #DevCommunity
To view or add a comment, sign in
-
🚀 𝐑𝐞𝐚𝐜𝐭 𝐂𝐨𝐧𝐟 𝟐𝟎𝟐𝟓: 𝐋𝐞𝐬𝐬 𝐁𝐨𝐢𝐥𝐞𝐫𝐩𝐥𝐚𝐭𝐞, 𝐌𝐨𝐫𝐞 𝐏𝐞𝐫𝐟𝐨𝐫𝐦𝐚𝐧𝐜𝐞, 𝐚𝐧𝐝 𝐅𝐫𝐞𝐞𝐝𝐨𝐦 React developers, if you missed the latest announcements, it's time to pay attention. React is shedding its historical baggage to focus purely on performance and developer sanity. Here's my take on the biggest updates that will change how we write code: 𝐓𝐡𝐞 𝐃𝐞𝐩𝐞𝐧𝐝𝐞𝐧𝐜𝐲 𝐀𝐫𝐫𝐚𝐲 𝐍𝐢𝐠𝐡𝐭𝐦𝐚𝐫𝐞 𝐢𝐬 𝐎𝐕𝐄𝐑! The new useEffectEvent hook is an absolute lifesaver. No more endless, unnecessary re-runs of effects just because a non-reactive function was in the dependency array. This is a massive step for avoiding bugs (and potential outages, a la Cloudflare's legendary 2024 episode! 😉). 𝐓𝐡𝐞 𝐂𝐨𝐦𝐩𝐢𝐥𝐞𝐫 𝐖𝐞 𝐃𝐞𝐬𝐞𝐫𝐯𝐞: React Compiler 1.0 is stable! This is the real star. We can finally start retiring our manually scattered useMemo and useCallback hooks, which let's be honest, often did more harm than good or were simply tedious boilerplate. Hello, automatic performance optimization. 𝐈𝐧𝐭𝐞𝐥𝐥𝐢𝐠𝐞𝐧𝐭 𝐔𝐈 𝐒𝐭𝐚𝐭𝐞 𝐌𝐚𝐧𝐚𝐠𝐞𝐦𝐞𝐧𝐭: The Activity component gives us a native, smart way to hide/show elements. It maintains state and intelligently de-prioritizes work for hidden components—a great performance boost over just using CSS. 𝐀 𝐍𝐞𝐰 𝐄𝐫𝐚 𝐨𝐟 𝐈𝐧𝐝𝐞𝐩𝐞𝐧𝐝𝐞𝐧𝐜𝐞: The transition of React and React Native to the React Foundation, separate from Meta, is crucial for long-term governance and community trust. A great move for the ecosystem! 𝐓𝐡𝐞 𝐅𝐮𝐭𝐮𝐫𝐞 𝐢𝐬 𝐀𝐈-𝐅𝐫𝐢𝐞𝐧𝐝𝐥𝐲: A quick nod to Remix 3—a simpler, web-fundamentals-first framework that the authors of React Router are building, specifically citing an "AI-friendly" approach. The competition is good for all of us! React is moving from a framework that needed constant developer hand-holding (manual memoization) to one that just works fast. Get ready to ditch that boilerplate and write cleaner, more intuitive code. What are you most excited to drop from your next PR: useMemo or the dependency array headache? 👇 #React #ReactConf2025 #FrontendDevelopment #JavaScript #WebDev #ReactCompiler
To view or add a comment, sign in
-
🚀 𝐖𝐡𝐲 𝐑𝐞𝐚𝐜𝐭 𝐌𝐨𝐯𝐞𝐝 𝐟𝐫𝐨𝐦 𝐂𝐥𝐚𝐬𝐬 𝐂𝐨𝐦𝐩𝐨𝐧𝐞𝐧𝐭𝐬 𝐭𝐨 𝐅𝐮𝐧𝐜𝐭𝐢𝐨𝐧 𝘙𝘦𝘢𝘤𝘵’𝘴 𝘴𝘩𝘪𝘧𝘵 𝘧𝘳𝘰𝘮 𝘤𝘭𝘢𝘴𝘴 𝘤𝘰𝘮𝘱𝘰𝘯𝘦𝘯𝘵𝘴 𝘵𝘰 𝘧𝘶𝘯𝘤𝘵𝘪𝘰𝘯 𝘤𝘰𝘮𝘱𝘰𝘯𝘦𝘯𝘵𝘴 𝘸𝘪𝘵𝘩 𝘏𝘰𝘰𝘬𝘴 𝘸𝘢𝘴𝘯’𝘵 𝘫𝘶𝘴𝘵 𝘢 𝘴𝘺𝘯𝘵𝘢𝘹 𝘶𝘱𝘨𝘳𝘢𝘥𝘦 — 𝘪𝘵 𝘤𝘰𝘮𝘱𝘭𝘦𝘵𝘦𝘭𝘺 𝘤𝘩𝘢𝘯𝘨𝘦𝘥 𝘩𝘰𝘸 𝘸𝘦 𝘸𝘳𝘪𝘵𝘦 𝘙𝘦𝘢𝘤𝘵 𝘢𝘱𝘱𝘴. Here’s why 👇 ✅ Simpler Syntax → Less boilerplate, cleaner and more readable code ✅ Hooks → Reusable and composable stateful logic ✅ No Lifecycle Confusion → Easier side-effect management with useEffect ✅ No this Keyword → Fewer bugs and clearer logic ✅ Better Performance → Easier for React to optimize renders ✅ Future-Ready → Designed for concurrent and server components React Hooks made components simpler, more powerful, and future-proof. #ReactJS #JavaScript #WebDevelopment #Frontend #ReactHooks #Coding
To view or add a comment, sign in
-
🚀 React’s New Compiler Is Honestly a Game-Changer I’ve been working with React for a while, and one thing I always found tiring was manually optimizing components with useMemo and useCallback. Sometimes it helped… sometimes it made things worse… and sometimes I added them “just in case.” 😅 But with the new React Compiler, things finally feel simpler again. React now handles many of those optimizations automatically — so in most cases, you don’t even need useMemo anymore. No more clutter, no more dependency-array headaches, and no more wondering whether your component is secretly re-rendering 20 times. It’s honestly refreshing to see React move back toward a clean, intuitive developer experience. Less micromanaging performance. More focusing on building great UI. If you haven’t tried the new compiler yet, I highly recommend it. It feels like React grew up a little. 🔥 Curious — what’s your experience so far? #ReactJS #ReactCompiler #Frontend #WebDev #JavaScript #Technology #Learning #Developers #TechCommunity
To view or add a comment, sign in
-
Why You Should Use Functional Components in React:- React has changed a lot — and functional components are now the best way to build apps. In our latest blog, we explain why developers are moving away from class components and how you can do the same. Here’s what you’ll learn: ✅ Why functional components are easier to write and understand ✅ How Hooks make state and logic simple ✅ Tips to update old class components A quick and helpful read for anyone learning or improving their React skills. 🔗 Read the full blog by Sachin Saxena: https://lnkd.in/gbVDcPHv #React #JavaScript #WebDevelopment #Frontend #Coding #ReactJS #FunctionalComponents #StarOps
To view or add a comment, sign in
-
-
React 19: A New Era of Developer Experience The React team has delivered something special with version 19, and I'm genuinely excited about where the framework is heading. After spending time with the new features, I wanted to share what makes this release particularly meaningful for frontend developers. Actions Are Here, and They Change Everything The introduction of Actions represents a fundamental shift in how we handle async operations. Instead of manually managing loading states, errors, and optimistic updates across multiple useEffect hooks, we can now handle form submissions and data mutations with built-in state management. The useActionState hook gives us pending states, error handling, and progressive enhancement practically for free. This isn't just convenience – it's React acknowledging that these patterns appear in every application and deserve first-class support. The Compiler We've Been Waiting For React Compiler (formerly React Forget) is moving from experimental to production-ready. What excites me most is that it eliminates the cognitive overhead of manual memoization. No more deciding between useMemo, useCallback, or React.memo for every component and function. The compiler analyzes our code and automatically applies optimizations where they matter. This means we can focus on writing clear, readable code while the compiler handles performance concerns. Early adopters are reporting significant performance improvements without changing a single line of their component logic. Server Components Mature Server Components have graduated from experimental status, bringing true server-side rendering capabilities into the React ecosystem. The ability to fetch data, access databases, and render components on the server before sending HTML to the client opens up architectural possibilities that were previously complex or impossible. Combined with Actions, we now have a complete story for building full-stack React applications with excellent performance characteristics. What This Means for Our Teams These changes represent React's evolution from a view library into a comprehensive framework for building modern web applications. The learning curve is gentler than previous major versions because the team focused on removing complexity rather than adding it. Existing code continues to work, but new projects can leverage these patterns from day one. If you haven't explored React 19 yet, I encourage you to check out the official documentation and try the new Actions API in a side project. The future of React development is looking bright. What features are you most excited about? Let me know in the comments below. #React #JavaScript #WebDevelopment #Frontend #ReactJS
To view or add a comment, sign in
-
-
⚛️ Understanding React Hooks: useMemo, useReducer, useCallback & Custom Hooks React Hooks make functional components more powerful and efficient. Here are four advanced hooks every React developer should know.. 🧠 1. useMemo Purpose: Optimizes performance by memoizing (remembering) the result of a computation. React re-renders components often useMemo prevents re-calculating expensive values unless dependencies change. Use it for: heavy calculations or filtered lists. ⚙️ 2. useReducer Purpose: Manages complex state logic more efficiently than useState. It works like a mini version of Redux inside your component — using a reducer function and actions. Use it for: forms, complex state transitions, or when multiple states depend on each other. 🔁 3. useCallback Purpose: Prevents unnecessary re-creations of functions during re-renders. It returns a memoized version of a callback function so it’s not recreated every time unless dependencies change. Use it for: optimizing child components that rely on reference equality. 🪄 4. Custom (User-Defined) Hooks Purpose: Reuse stateful logic across components. If you find yourself using the same logic in multiple places, you can create your own hook (e.g., useFetch, useLocalStorage, etc.). Use it for: fetching data, handling forms, authentication logic, etc. 🚀 These hooks help write cleaner, faster, and more maintainable React code. Understanding when and how to use them will make you a more efficient developer. credit - Hamsa M C #React #ReactJS #ReactHooks #useMemo #useReducer #useCallback #CustomHooks #FrontendDevelopment #FrontendEngineer #WebDevelopment #WebDeveloper #JavaScript #JS #ES6 #Programming #Coding #DeveloperCommunity #TechLearning #MERN #webdev #React19
To view or add a comment, sign in
-
-
⚡ Day 3 – “The Truth About React Hooks (No One Tells You)” Everyone uses React Hooks… but very few actually understand them deeply. I’ve seen developers use useEffect() for everything — from data fetching to DOM manipulation to debugging problems it didn’t even cause 😅 But here’s what experience taught me 👇 ✅ useState isn’t just about state — it’s about control. ✅ useEffect isn’t for every side-effect — it’s for the right one. ✅ useMemo and useCallback aren’t “performance hacks” — they’re stability tools. Hooks make React powerful — but misusing them can turn your app into a re-render nightmare. 💡 Mastering React Hooks isn’t about using more of them — it’s about using them wisely. What’s the one hook you can’t live without? 👇 I’ll go first: useEffect — when used right, it’s pure magic. #ReactJS #MERN #Frontend #FullStack #WebDevelopment #JavaScript #CodingLife #DeveloperCommunity #ReactHooks #TechTalk
To view or add a comment, sign in
-
-
The Developer’s Paradox” Ever noticed how learning to code feels like running on a treadmill? You move fast, but the finish line keeps getting further. First, you master HTML. Then CSS humbles you. Then JavaScript makes you rethink life. And just when you think you’re done — React, TypeScript, Next.js knock at your door. Truth is: there’s no finish line in tech. But that’s exactly what makes it beautiful — infinite room to grow. Keep running. Just make sure you’re enjoying the track, not chasing the end. 💪 #WebDevelopment #Frontend #GrowthMindset #DeveloperJourney
To view or add a comment, sign in
-
👉🏻React just got even better. React keeps proving why it’s still the king of frontend frameworks. With the latest update, the new React Compiler changes everything about how re-renders work. No more spending hours chasing dependency arrays or optimizing components manually, the compiler literally handles that for you. Imagine writing normal React code and it just runs faster, automatically. That’s the dream, right? This update feels like the biggest leap since React Hooks dropped. It’s not just about performance, it’s about simplicity. The compiler analyzes your components and reuses work intelligently, which means smoother UIs, faster refresh rates, and less developer frustration. For teams building dashboards, animations, or anything interactive, this update could save hours of debugging and optimization. And yes, it still works with Next.js and other modern setups. React is slowly turning into a performance beast, and honestly, this is the kind of innovation that keeps it ahead of the game. If you’re a React dev, I’m curious, Have you tried the new compiler yet, or are you sticking with your old setup for now? Would love to know how it’s performing in real-world projects 👇 Follow Ahmed Saffar Memon for more. #ReactJS #FrontendDev #CodingCommunity #TechUpdates #WebDevelopment #NextJS #DevCommunity
To view or add a comment, sign in
-
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development