This repository hosts a sample Next.js app that uses createPortal
for custom toast notifications. Blog article for
To spin up the development server, follow these steps:
- Install the dependencies:
npm install
- Start the development server:
npm run dev
- Open http://localhost:3000 with your browser to see the result.
Here's a preview of the toast notifications in action:
For a detailed guide on implementing toast notifications in a Next.js project, check out my blog article.