Skip to main content
DevHivesBlog

Search the blog

Find a post by title, tag or topic

react

3 posts tagged “react”.

A browser window and a server rack side by side, showing the frontend and backend as separate parts that need connecting.
technology8 min read

How to Connect React to a Backend API (CORS, Fetch, MongoDB)

React doesn't talk to your API; the browser does. Build an Express server, fetch data in React, fix the CORS error with one line of middleware, and keep data in a free MongoDB Atlas M0 cluster.

Arnab Biswas
Two logos side by side: React and Next.js, with React highlighted on the left, showing that React should be learned first.
technology9 min read

Next.js vs React for Beginners: Learn React First

Next.js is built on top of React, so it assumes you already know components, props, and state. Learn React's basics first, then build your first real project in Next.js.

Arnab Biswas