Skip to content

Instantly share code, notes, and snippets.

@budiantoip
Last active March 20, 2024 04:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save budiantoip/0fa3d8b5fe0d38fb5e32eff71d02d93d to your computer and use it in GitHub Desktop.
Save budiantoip/0fa3d8b5fe0d38fb5e32eff71d02d93d to your computer and use it in GitHub Desktop.
Learn ReactJS

References:

Pengenalan React

Kenapa React disebut Library bukan Framework?

karena ada banyak pilihan untuk melakukan sesuatu dan kita harus memilih tools (package) sendiri dan membuat design system yang tepat untuk proyek tertentu

  • Butuh static site? Pake Gatsby.js
  • Butuh Server Side Rendering? Pake Next.js
  • Butuh State Management? Pake Redux
  • Mau bikin mobile app? Pake React Native

Start a New Project

Reference: https://vitejs.dev/guide/

npm create vite@latest my-react-app -- --template react

Install TailwindCSS

Reference: npx tailwindcss init -p

npm install -D tailwindcss postcss autoprefixer
npx tailwindcss init -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment