I once fixed a performance issue… Didn’t change logic. Didn’t add caching. Just replaced a loop with Promise.all() Speed went 📈 Sometimes the problem isn’t scale… it’s how you write async code. #SoftwareEngineering #NodeJS #JavaScript #Performance #DevTips
Improved NodeJS Performance with Async Code Optimization
More Relevant Posts
-
React Query changed how I think about state — and I have not used Redux since The server state vs client state distinction that React Query makes explicit replaced my need for Redux entirely. Here is the mental model shift. Full breakdown (7 min read) → https://lnkd.in/gcUhHrV2 #ReactJS #Frontend #JavaScript #TypeScript #WebDev #UIEngineering
To view or add a comment, sign in
-
-
What will be the output of the following JavaScript code? console.log([] + []); console.log([] + {}); console.log({} + []); 💬 Drop your answers below without running the code! #JavaScript #Developers
To view or add a comment, sign in
-
Day 95 / 365 👨💻 Focused on steady React practice. 🧩 Built a small feature in an existing component 🔁 Handled state updates more smoothly ⚙️ Simplified some conditional logic 🧠 Focused on writing cleaner components #365DaysOfCode #React #JavaScript #Frontend
To view or add a comment, sign in
-
Day 116 / 365 👨💻 Stayed consistent with React practice. 🧩 Tweaked a small component 🔁 Observed state updates in action ⚙️ Cleaned up minor logic 🧠 Focused on keeping code simple and clear #365DaysOfCode #React #JavaScript #Frontend
To view or add a comment, sign in
-
The React pattern that eliminated 80% of my useEffect calls Most useEffect calls are just bad data derivation. Here is the derived state pattern that cleaned up years of accumulated complexity in my React components. Full breakdown (6 min read) → https://lnkd.in/gsS5RKC4 #ReactJS #Frontend #JavaScript #TypeScript #WebDev #UIEngineering
To view or add a comment, sign in
-
-
Day 107 / 365 👨💻 Focused on small improvements. 🧩 Refined a component structure 🔁 Managed state updates more clearly ⚙️ Simplified conditional rendering 🧠 Focused on writing cleaner React code #365DaysOfCode #React #JavaScript #Frontend
To view or add a comment, sign in
-
you called setState twice. expected +2. got +1. both calls read the same stale count from the current render. they don't compound. they both say "set to 1." welcome to React. why it breaks: state updates don't happen immediately. they're scheduled. so count is still 0 inside your function no matter how many times you call setState. both calls read 0. both set to 1. result: 1. the Fix: use functional updates. each call gets the previous result and builds on it. The code : #reactjs #javascript #webdevelopment #buildinpublic #typescript
To view or add a comment, sign in
-
-
0ms Delay... but what about the extra arguments? 🧐 Most developers know setTimeout(callback, delay), but did you know you can pass arguments directly into the callback? #JavaScript #WebDevelopment #CodingQuiz #SoftwareEngineering #FrontendTips
To view or add a comment, sign in
-
most React developers don't know why their promises break silently. they wrap everything in .catch() and wonder why errors still slip through. the problem: - .catch() only catches errors up to that point - errors after the chain slip through unhandled - processData() throws but catch doesn't see it the fix : check response status: and one rule: proper error boundaries. check status. validate data. catch at the end. #reactjs #typescript #webdevelopment #buildinpublic #javascript
To view or add a comment, sign in
-
-
Day 106 / 365 👨💻 Continued with React practice. 🧩 Revisited component structure 🔁 Practiced state updates in small examples ⚙️ Improved code organization 🧠 Focused on getting comfortable with the flow #365DaysOfCode #React #JavaScript #Frontend
To view or add a comment, sign in
Explore related topics
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