React from the Ground 🌏
🤔 React
🤓 How to start
Paham HTML + CSS + JS dulu
(+) Paham module bundler
https://react.dev/learn
Versi Indonesia:
https://id.react.dev/learn
😁 Mending langsung Next.js atau React dulu bang?
Next.js punya konsep dan aturan sendiri.
Server first vs Client first
Pages router (client first)
- SSR (
getServerSideProps
)
- SSG (
getStaticProps
)
- CSR (
useEffect
)
- API routes (
pages/api/*
)
- Etc.
App router (server first)
-
Client component (
use client
)
- Server Action (
use server
)
- React Server Component (RSC)
-
New routing
- layout.tsx
- page.tsx
- route.ts
- Partial prerendering (experimental)
- Etc.
😭 Bang pusing pake Next, bisa pake React aja ga?
Bisa aja, tapi ..
Perlu banyak manual setup.
Atau opsi lain ...
💍 Find ur match!
🔥 Latest News
🍌 Thanks!
Any questions?