Skip to content

Instantly share code, notes, and snippets.

React Development

Before You Start

IMPORTANT: Before you begin, make sure you install the latest versions of Node (20.15.0 at time of writing) and PNPM (9.4.0 at time of writing). This also assumes you have Visual Studio Code installed.


Create a new Vite/React project. Taken from Scaffolding Your First Vite Project.

@jpolete
jpolete / npmlib.sh
Created September 15, 2025 18:17
NPM Library with TypeScript, Jest, and JSDoc
#! /bin/bash
read -p "Project name. Lowercase, no spaces. [Default myproj]: " projname
projname=${projname:-myproj}
# Create a project directory
mkdir "$projname"
# Move into the dir
cd "$projname"