How to Extend User and Session in NextAuth.js (Typescript)
Learn how to extend the user and session objects in typescript to get more information about the user when using useSession, getSession, or getToken.
Read MoreLearn how to extend the user and session objects in typescript to get more information about the user when using useSession, getSession, or getToken.
Read MoreLearn how to separate the logic if you have multiple middlewares in NextJS. In this tutorial, we'll show you exactly how to do this by using higher-order functions to create middleware functions.
Read MoreIn this article, you will learn how to filter an array of objects in typescript dynamically using expressions and queries.
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 build multi-page forms with Formik and NextJS. Retain the form state across multiple tabs and routes using shallow routing.
Read MoreLearn how to flatten objects in javascript and transform it into dot notation. Flatten deeply nested objects, with arrays, and whatnot.
Read MoreLearn how to send only modified or changes values in Formik in deeply nested objects. Remove the unchanged values!
Read MoreLearn the best practices when using redirects in NextJS. When and how to redirect inside getStaticProps, getServerSideProps, middleware, API routes and next.config.js
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 MoreLearn how to build a React table of contents component that works on desktop and mobile using Typescript, React, and DaisyUI!
Read More