Redux just mass-dropped 3 releases in one week. And honestly? The changes are bigger than most people realize. Here's the tldr: 𝗥𝗲𝗱𝘂𝘅 𝘃𝟱 → Entire codebase rewritten in TypeScript → action.type MUST be a string now (no more Symbols) → createStore is still there but crossed out like your ex's number → UMD builds? Gone. ESM is the default. 𝗥𝗲𝗮𝗰𝘁 𝗥𝗲𝗱𝘂𝘅 𝘃𝟵 → React 18 is mandatory. No more shimming older versions. → Importing React-Redux in a Server Component now throws immediately (instead of failing silently and wasting 45 min of your life) → useSelector got smarter dev mode checks 𝗥𝗲𝗮𝗰𝘁 𝗡𝗮𝘁𝗶𝘃𝗲 𝟬.𝟳𝟯 → Hermes now captures console.log from app start (finally) → Flipper integration deprecated. New Chrome DevTools debugger incoming. → Kotlin is the default Android template. Java had a good run. → Android 14 support needs Java 17 and AGP 8.1.x → Next RN version drops Android 5.0 entirely The part that caught me off guard: Redux switched its internal listener storage from an Array to a Map. Small detail, big performance win for apps with heavy subscription churn. Also worth noting — if you're still on TypeScript 4.6, all three packages just dropped support for it. Time to upgrade. These aren't minor patch notes. This is the ecosystem saying "modern defaults or get left behind." Which update impacts your current project the most? #reactjs #redux #reactnative #typescript #webdev
Redux drops 3 major updates, including TypeScript rewrite and React 18 requirement
More Relevant Posts
-
You've been creating /api routes you didn't need to. 👇 Most Next.js devs default to API Routes for everything — forms, mutations, internal calls. It works, but it's 3x the code with 0 extra benefit when you're calling it from your own app. Server Actions run on the server, return type-safe results, and call like a plain function. No fetch. No JSON. No route file. And they revalidate cache automatically. Simple rule: external clients call → API Route. Your own app calls → Server Action. 90% of your mutations should be Server Actions. Save this so you stop second-guessing it. 🔖 #NextJS #NextJS15 #ServerActions #WebDevelopment #FullStackDevelopment #JavaScript #TypeScript #AppRouter #ReactJS #FrontendDevelopment #Programming #CleanCode #100DaysOfCode #SoftwareEngineering #Vercel
To view or add a comment, sign in
-
-
Behind the Screen – #34 Do you know? The #node_modules folder is often larger than your entire project. Why is it so big? 👉 Your project depends on many #packages 👉 Each package has its own #dependencies 👉 Those dependencies have their own dependencies This creates a dependency tree. So when you #install one library, you might actually be installing hundreds of smaller packages. Also: 👉 Packages include multiple files (code, configs, docs) 👉 Different versions may coexist 👉 Everything is stored #locally for faster usage That’s why node_modules grows so quickly. It may look heavy, but it helps your app run without fetching things again and again. 🔥 One install command can bring an entire ecosystem into your project. #javascript #reactjs #webdevelopment #techfacts #developer
To view or add a comment, sign in
-
🚀 Fetch API vs Axios: Which One Should You Use in 2026? When it comes to making HTTP requests in JavaScript, two names dominate: Fetch API and Axios. But which one should you actually use? 🤔 🔹 Fetch API Built-in (no installation required) Lightweight and fast Promise-based and modern Best for simple or small-scale projects 🔹 Axios Cleaner and shorter syntax Automatic JSON parsing Better error handling Supports interceptors, timeouts & more Ideal for large and scalable applications 💡 The key difference? Fetch is native and minimal, while Axios is feature-rich and developer-friendly. 🧠 So, which one should you choose? 👉 Use Fetch API if you want: Zero dependencies Better performance Simple API calls 👉 Use Axios if you need: Advanced features Cleaner codebase Scalable architecture 📖 I’ve explained everything in detail (with examples & comparisons) in this blog: 👉 https://lnkd.in/gkaQEZz2 💬 What do you prefer in your projects — Fetch or Axios? #javascript #webdevelopment #frontend #reactjs #laravel #coding #developers #axios #fetchapi #programming #techblog
To view or add a comment, sign in
-
-
🚀 Efficient API Data Fetching in React Many React apps suffer from bad API handling. Here are some strategies that consistently work in production 👇 ⚡ 1. Use React Query or SWR They manage caching and refetching automatically. ⚡ 2. Avoid Duplicate API Calls Cache results whenever possible. ⚡ 3. Show Loading and Error States Always handle API states properly. ⚡ 4. Use Background Refetching Keep data fresh without blocking UI. ⚡ 5. Cancel Unnecessary Requests Abort requests when components unmount. #React #programming #webdevelopment #reactjs #coding #dailyUpdate #Developer 💻
To view or add a comment, sign in
-
-
Yesterday I shared how I built the token architecture. Today I want to talk about what happened when I actually wired it into my React app. 🧵 Spoiler: it broke. Multiple times. 😅 ❌ isAuthenticated was always false even after login ❌ Page reload was kicking users out of protected pages ❌ APIs were returning 403 Forbidden Each bug taught me something new. 🔍 𝗕𝘂𝗴 𝟭 — 𝗶𝘀𝗔𝘂𝘁𝗵𝗲𝗻𝘁𝗶𝗰𝗮𝘁𝗲𝗱 𝗮𝗹𝘄𝗮𝘆𝘀 𝗳𝗮𝗹𝘀𝗲 I was saving tokens to sessionStorage but never telling AuthContext about it. The fix? Call login() from AuthContext right after the API succeeds — not just save the token and move on. 🔍 𝗕𝘂𝗴 𝟮 — 𝗣𝗮𝗴𝗲 𝗿𝗲𝗹𝗼𝗮𝗱 𝘄𝗶𝗽𝗶𝗻𝗴 𝘁𝗵𝗲 𝘂𝘀𝗲𝗿 𝗼𝘂𝘁 Redux resets on every reload. So even though the token was in sessionStorage, the Redux user was gone — and my ProtectedRoute was checking both. The fix was simple: ProtectedRoute should only check the token. Let each page handle its own data fetching. 🔍 𝗕𝘂𝗴 𝟯 — 𝟰𝟬𝟯 𝗙𝗼𝗿𝗯𝗶𝗱𝗱𝗲𝗻 𝗼𝗻 𝗮𝗹𝗹 𝗽𝗿𝗼𝗳𝗶𝗹𝗲 𝗔𝗣𝗜𝘀 I was using plain axios instead of my configured axiosInstance. Plain axios doesn't know about interceptors — so no token was being attached to the headers. Rule I now follow religiously: ✅ axiosInstance for every authenticated API call ❌ Never plain axios 💡 What I built at the end: → AuthContext managing isAuthenticated globally → TokenService as the single source of truth for tokens → ProtectedRoute that survives page reloads → Logout API passing access token in header + refresh token in body → sessionStorage keeping users logged in across reloads Authentication isn't just about the login page. It's about every single interaction after that. What bugs have you hit while implementing auth in your app? 👇 Cheers, Binay 🙏 #React #TypeScript #JavaScript #WebDevelopment #Frontend #Authentication #JWT #Axios #SoftwareEngineering #Programming #Angular #LearningInPublic #TechCommunity #ReactJS #Coding
To view or add a comment, sign in
-
Built a simple CRUD app using React Worked on a project where users can: Create posts (with image, title, description) View all posts in card format Edit posts without creating duplicates Delete posts instantly Learned: 1.State management with useState 2.Handling forms & file inputs 3.Conditional rendering 4.Updating vs creating data (real CRUD logic) 5.Simple project, but helped me understand React much better. #React #JavaScript #WebDevelopment #CRUD #LearningInPublic
To view or add a comment, sign in
-
The "Manual Optimization" era of React is officially ending. 🛑 With the latest updates in Next.js 16, the React Compiler is now stable and built-in. For years, we’ve spent countless hours debugging unnecessary re-renders and wrapping everything in useMemo and useCallback just to keep our apps snappy. Next.js 16 changes the game by handling memoization automatically at the build level. What this means for us as Front-End Devs: -- Cleaner Code: No more "dependency array hell." We can write plain JavaScript/React again. -- Performance by Default: The compiler understands your component's intent better than manual hooks ever did. --Faster Ship Times: We spend less time profiling performance and more time building features. The "Before vs. After" looks something like this: Next.js 16 isn't just about speed; it's about returning to a simpler way of writing React. It’s a massive win for Developer Experience (DX).
To view or add a comment, sign in
-
-
Day 22: Building Lightning-Fast Apps with React Performance Tuning! ⚡🚀 Today was all about the "Speed & Precision" phase. Building features is one thing, but making sure they run at peak performance is what defines a professional engineer. Key Breakthroughs: Memoization Mastery: Used React.memo to prevent heavy components from re-rendering when props stay the same. Computation Caching: Implemented useMemo to cache expensive calculations, saving precious CPU cycles. Reference Stability: Mastered useCallback to maintain stable function references and avoid unnecessary child re-renders. The Result: A buttery-smooth, high-performance UI that scales effortlessly even with complex data sets. Performance isn't an afterthought—it’s a core feature. Excited to see how these optimizations transform the user experience! 💻✨ #ReactJS #WebPerformance #CleanCode #FrontendEngineer #JavaScript #CodingMilestone #100DaysOfCode #SoftwareEngineering #BCA #TechInnovation #ProgrammingTips
To view or add a comment, sign in
-
-
“It works in Postman.” “Then why does it fail in the app?” Every developer has faced this moment. Same API. Same endpoint. Same request. But the result is completely different. The reason is usually something small — headers, CORS, or request format. I wrote a simple breakdown of why this happens and how to debug it faster. 👉 Read here:https://lnkd.in/gsDRZ48v #JavaScript #WebDevelopment #API #Programming #SoftwareEngineering
To view or add a comment, sign in
-
-
🌐 Want to fetch data like a pro in React? Let’s talk about Fetch vs Axios. When I started working with APIs in React, I only knew one way — the built-in fetch(). It worked… but sometimes it felt a bit too manual 🤔 👉 Handling errors wasn’t straightforward 👉 Needed extra steps for JSON 👉 Repetitive code That’s when I discovered Axios. 💡 What is it? ✔ fetch() → Native JavaScript method to make HTTP requests ✔ Axios → A powerful library for handling HTTP requests with more features 💡 Simple example: 🔹 fetch() → Needs manual response handling → Convert to JSON explicitly 🔹 Axios → Automatically transforms response → Cleaner and shorter syntax 💡 Key differences: ⚡ fetch() • Built into the browser • Requires manual error handling • More boilerplate code ⚡ Axios • External library • Better error handling • Supports interceptors • Cleaner syntax 💡 Why it matters: ✔ Cleaner API calls ✔ Better error handling ✔ Easier to scale apps ✔ Improves developer experience 💡 When to use what? 👉 Use fetch() • Small projects • No extra dependencies 👉 Use Axios • Large apps • Need interceptors / advanced handling • Cleaner code structure 🔥 Pro tip: Use Axios interceptors to handle tokens, auth, and global errors in one place. 🔥 Lesson: Choosing the right tool isn’t about trends — it’s about what makes your code simpler and scalable. Which one do you prefer — fetch() or Axios? 🤔 #React #JavaScript #WebDevelopment #Frontend #API #Axios #CodingTips #FullStack
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