Snippets

A collection of snippets about React, Typescript, Firebase and Next.js

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