5 is not a Number* in JS, yes, read my blog to know more ( link in comments ) *Number object ;) #javascript #blog #frontend
This is far better reading: https://javascript.info/
Skip to main content
5 is not a Number* in JS, yes, read my blog to know more ( link in comments ) *Number object ;) #javascript #blog #frontend
This is far better reading: https://javascript.info/
To view or add a comment, sign in
✨ What is the difference between 𝗔𝗿𝗿𝗮𝘆.𝗺𝗮𝗽() and 𝗔𝗿𝗿𝗮𝘆.𝗳𝗹𝗮𝘁𝗠𝗮𝗽() in #JavaScript? .map() transforms each element of an array and always returns a new array with the same length as the original one. .flatMap() does the same transformation, but also flattens the result by one level if your mapping function returns arrays. Both are super useful in #ReactJS, #NextJS or any modern #JavaScript code. Knowing when to use flatMap() often saves you that extra .flat() call and keeps your code cleaner. Drop your favorite use case in the comments! 👇 #CleanCodeSolutions #WebDevelopment #Frontend #JavaScript #ArrayMethods
To view or add a comment, sign in
100 identical requests. 1 expensive DB call! I wrote about request collapsing and how to implement it in NestJS using an interceptor + decorator. https://lnkd.in/dJZK859c #javascript #nestjs #requestsandlimits
To view or add a comment, sign in
Frontend performance is back in focus. React 19 and server first patterns push one message. Ship less JavaScript. Move logic closer to the server. #ReactJS #NextJS #WebPerformance #FrontendDevelopment #JavaScript
To view or add a comment, sign in
JavaScript: Window vs. Document Explained! 🤯 Ever wonder about the difference between window and document in JavaScript? 🤔 This quick short breaks down these fundamental browser objects. Get ready to understand the browser's global object vs. the HTML content! #JavaScript #WebDevelopment #Frontend #CodingTips #WindowVsDocument
To view or add a comment, sign in
JavaScript: Window vs. Document Explained! 🤯 Ever wonder about the difference between window and document in JavaScript? 🤔 This quick short breaks down these fundamental browser objects. Get ready to understand the browser's global object vs. the HTML content! #JavaScript #WebDevelopment #Frontend #CodingTips #WindowVsDocument
To view or add a comment, sign in
Choosing the right frontend stack matters. Here’s a clear React vs Angular comparison to help you decide for your next project. #react #reacttutorial #angular #webdevelopment #javascript
To view or add a comment, sign in
I created a simple visual guide explaining the Node.js Event Loop. Understanding execution order helps prevent blocking issues and performance bugs. Let me know if you’d like a deeper breakdown 👇 #nodejs #javascript #backend #eventloop #webdevelopment
To view or add a comment, sign in
MEAN vs MERN: same backend power, different frontend philosophy. Angular brings structure, React brings flexibility. Choosing the right stack is less about trends and more about use cases. #MEANStack #MERNStack #FullStackDevelopment #WebDevelopment #JavaScript
To view or add a comment, sign in
Static routes do not have to be stale 🔁 For this, we use "Revalidation". In my recent posts, I talked about static vs dynamic routes and what actually makes a route dynamic in Next.js. Revalidation lets you keep the speed of static pages while still updating data over time. No rebuilds. No client side refetching. If caching has ever felt confusing, this mental model usually makes it click. 👇 Check the carousel below #Nextjs #React #Frontend #WebDevelopment #Javascript #Typescript #ProgrammingTips
To view or add a comment, sign in
Understanding "this" as a core (Arrow vs Normal Function) Many times confusion around this comes from thinking it depends on where a function is written, but in reality it depends on how the function is called. In the example below, the outer function is called as an object method, so its this refers to the object itself. The inner function is an arrow function, which does not create its own this and instead lexically inherits it from the parent function. This small distinction cleared a lot of confusion for me around this behavior in JavaScript . If the inner function were a normal function instead of an arrow function, the value of this would be different. #JavaScript #LearningInPublic #WebDevelopment #Frontend #NodeJS
To view or add a comment, sign in
https://rondotenv.substack.com/p/the-javascript-automatic-boxing-gotcha SUBSCRIBE TOO