This is a personal collection of Next.js and React snippets for Visual Studio Code, designed to make your development process a little easier.
This extension offers shortcuts for a range of Next.js components and React hooks. Here's what you'll get:
- Next.js Image component (
- Next.js Link component (
- React useState hook (
- React useEffect hook (
Getting started is easy. Just type part of a snippet, press
Tab, and watch the magic happen.
- Make sure you're running Visual Studio Code 1.45.0 or higher.
- Open up VS Code.
- Open the command palette with
Ctrl-Shift-P (Windows, Linux) or
- Search for
- Look for "Next.js Snippets" and install it.
- Give VS Code a quick restart.
Although this is a personal toolkit, if you stumble across any issues or have an idea to make it better, feel free to open an issue.
Licensed under MIT. Go wild.