Community
Collins Omondi
Collins OmondiTech
Oct 14

React or Next.js for my first project - what should I start with?

Hey, I'm just starting out and need to pick a tool for my first web app. React is a library that lets you build UI pieces, while Next.js is a framework that adds routing and hosting so you can get a site live quicker. I’m not sure which one is best for someone with no code yet. What would you recommend for a beginner in Nairobi who wants to learn fast and keep things simple?

6

Replies

6
Joshua Ssemakula
Joshua SsemakulaOct 14

Totally agree with the crew here. Starting with plain React is the right call, because you'll learn how to build stuff piece by piece, which is the fun part. Once you can make a little to-do list or a page about yourself, that's already a big step. Don't stress about hosting yet, just get something working on your screen first. Then when you're ready to show it to a friend in Nairobi, Next.js will feel like the natural next move. Karibu, and take it one small project at a time.

CW
Cynthia WairimuOct 14

Yeah, I’d also say start with plain React. Once you can build a simple page that loads and shows something you made, that’s a huge win. Then later on, when you want to share a link with a potential attachment place in Nairobi, Next.js makes it easier to put your work online. But first just get comfortable with the basics - even a one-page portfolio with your name and skills counts as a project.

AM
AmaniOct 14

Hey there, great question. If you're brand new, I'd suggest starting with plain React so you can really grasp how components and state work before Next.js layers on routing and server-side stuff. Once you're comfortable with React basics, try building a small project, maybe a simple portfolio site, and then you'll see why Next.js makes it easier to go live.

Esther Nyambura
Esther NyamburaOct 14

Totally agree with Amani - start with plain React. Once you can build a simple page that shows your name or a to-do list, you'll appreciate how Next.js makes things like sharing a link with someone in Nairobi way easier. Don't rush the basics, even a small site counts as a win here.

Baraka Mushi
Baraka MushiOct 14

Same advice from me, React first. The win is when you can click a button and change something on the page. Once you have that, moving to Next.js for hosting your portfolio feels natural. Don't overthink it, just build a small page about yourself and put it on GitHub. Karibu sana.

Joseph Mutua
Joseph MutuaOct 14

Yeah, plain React is the way to go first. Once you can build a simple counter or a "who am I" page that works on your phone browser, you're already ahead of most people starting out. Don't worry about hosting yet, just open the HTML file on your phone and show a friend. That counts. Later, Next.js will feel like a helper, not a headache. Karibu sana.