Prateek's Blog
Subscribe
Archives
A JavaScript Developer's Guide to Go
June 2, 2025
Hey there! I've been transitioning to Go over the last year, and as a JavaScript developer, I couldn't help but notice the differences in syntax,...
Next.js 13 vs Remix: An In-depth case study
October 2, 2023
Hey there! If you've been keeping up with web development trends, you've likely noticed Next.js taking the spotlight with its groundbreaking support for...
Handling Files on the Web: A Deep Dive
April 29, 2023
Hey there! If you’ve been building web applications for a while, you’ve likely encountered file handling on the web before. Whether uploading user avatars,...
Fine-tuning refs with useImperativeHandle
March 13, 2023
Hey there! React is a powerful UI library that provides developers with a great developer experience (DX) through its declarative approach to building user...
The future of rendering in React
October 7, 2022
Hey there! It’s been a while since I sent out one of these! I will try to be more regular moving forward. Rendering in React has mostly been the same for...
Simplify immutable data structures in useReducer with Immer
March 7, 2022
Hey there! When dealing with complex state logic in React, useReducer is a saviour. It provides an excellent API for handling state updates when the state...
How JavaScript Classes work under the hood
January 3, 2022
Hey there! First of all, Happy New Year! 2021 has been a wild year for all of us, maybe it wasn’t as bad as 2020, but it was still a rollercoaster of a year...
Mastering data fetching with React Query and Next.js
November 2, 2021
Hey there! When it comes to UI frameworks for the web, Next.js is one of the best ones out there. It offers a great developer experience while managing...
A JavaScript developer's guide to browser cookies
September 26, 2021
Hey there! Whether you like them or not, cookies are an essential part of modern web development. Yet, they are often misunderstood amongst developers and...
What is the difference between extends and plugins in ESLint config
September 12, 2021
Hey there! When I first started setting up ESLint in my projects, I often used to get confused about the difference between eslint-plugin-xxx and eslint-...
Why you should avoid using state for computed properties
July 18, 2021
Hey there! I have often seen many people (including my past self) creating state variables for any kind of value that can change across renders including the...
Why using object spread with reduce probably a bad idea
June 13, 2021
Hey there! If you have been using JavaScript for a while, you must be familiar with the .reduce() method of JavaScript arrays. You might have used it to...