How to Configure Typescript baseUrl in a Node.js Project
Learn how to configure baseUrl in a NodeJS project by using tsc-alias for production builds and ts-node-dev for development.
Read MoreLearn how to configure baseUrl in a NodeJS project by using tsc-alias for production builds and ts-node-dev for development.
Read MoreTo import a JSON file in typescript you have to enable two settings in tsconfig.json: esModuleInterop and resolveJsonModule.
Read MoreLearn how to flatten objects in javascript and transform it into dot notation. Flatten deeply nested objects, with arrays, and whatnot.
Read MoreIn this tutorial we're going to learn how to parse and get fully-typed NextJS query parameters in Typescript.
Read MoreLearn how to sort an array of objects in TypeScript. Implement a dynamic compare function to sort an array of objects dynamically.
Read MoreIn this article, I will show you how to track the scroll direction inside an intersection observer in React. It can be used when implementing a Table of Contents component.
Read MoreThis tutorial shows you three ways to escape special characters in query strings in javascript.
Read MoreUsing debounce is the one of the techniques you should learn to speed up your apps by limiting function executing on user generated input.
Read MoreTired of all the useRef errors in typescript? In this beginner guide, I'm going to show you all you need to know about using React's useRef hook in typescript.
Read MoreA full tutorial on how to use React useState with Typescript and avoid any compile time errors. Explained best practices and scenarios to avoid when using useState.
Read MoreThis tutorial shows us different ways of calling REST API properly in React by using react hooks. We also explore the choices involved on what library to use in different scenarios.
Read MoreAdd Google Analytics 4 to an existing NextJS Typescript application. Creating a GA Tracking ID, Modify nextjs to use GA4 and add typings for gtag.js to enable type safety when adding events.
Read MoreGet up-to-date on latest articles on react.js, node.js, graphql, full-stack web development. No Spam. Helpful articles to improve your skills. Sent directly to your inbox.