Snippets
A collection of snippets about React, Typescript, Firebase and Next.js
How to add fonts to your Next.js 13 RSC app directory
·3 min read
Learn how to add fonts using the next/font package to your Next.js project using the app directory.
A reusable Table component for React.js
·4 min read
How to build a reusable Table component for React.js using Tanstack and Tailwind CSS.
Get changed files in a git repository with Node.js
·1 min read
This snippet will help you retrieve the list of the currently changed files in a git repository using Node.js.
How to reduce and boost your Firebase cold start times
·3 min read
Firebase cold start times are a common problem for developers. In this tutorial, we'll show you how to reduce and boost your Firebase cold start times.
How to fix common hydration issues in Next.js and React 18
·2 min read
Common Next.js hydration issues and how to fix them
Add Tailwind CSS to Next.js
·2 min read
Learn how to install and use Tailwind CSS in your Next.js website
Logging users out with Firebase Auth and Next.js
·4 min read
Learn how to sign users out with Firebase Auth and Next.js, and automatically redirect the user out of the page
How to generate an RSS feed with Next.js
·3 min read
Let's learn how to generate an RSS feed for our Next.js website in various formats.
Initialize the Firebase Admin with Next.js
·2 min read
Learn how to use Firebase on the server with Next.js
How to redirect to a page with Next.js
·2 min read
Learn the ways to redirect users to another page with Next.js