Demo cho buổi chia sẻ về các cách thức optimize React app tại 200Lab
Tech-stack:
- TypeScript - Language
- Next.js - Framework
- Tachyons - CSS
- React Icons - Icons
- Lodash - Ultilities
- @next/bundle-analyzer - Bundle analyzer
# Clone repo
git clone https://github.com/thanh-nguyen-95/optimize-react-200lab
cd optimize-react-200lab
# Cài đặt package
npm install
# Dev server http://localhost:3000
npm run dev
# Build
npm run build
# Build & phân tích bundle (bundle analyzer)
ANALYZE=true npm run build