You can also use NEXTjs with express. No one says you have to use all the features in Nextjs. Answer from TechTuna1200 on reddit.com
๐ŸŒ
Simform
simform.com โ€บ home โ€บ the simform blog โ€บ express vs. react: what to choose- an excellent backend or a js library?
Express vs. React: What to Choose- an Excellent Backend or a JS Library?
January 16, 2025 - Express and React are different technologies from the same ecosystem! Both have Javascript at their core, with Express built on Node.Js, and React a JS library. Yet, comparing them is like outlining the differences between a Jumbo Jet and Jet Ski because both of them are different.
๐ŸŒ
Lemon.io
lemon.io โ€บ home โ€บ questions and answers โ€บ express.js โ€บ what is react express.js vs react.js?
What is React Express.js vs React.js?
December 11, 2024 - React.js is a front-end library for building user interfaces, while Express.js is a back-end framework for handling server-side logic. Together, Rโ€ฆ
Discussions

Express.js + React or NEXT.js?
You can also use NEXTjs with express. No one says you have to use all the features in Nextjs. More on reddit.com
๐ŸŒ r/react
7
9
August 1, 2023
What is React Express.js vs Node.js?
React.js is a front-end library for building user interfaces, while Node.js is a JavaScript runtime for executing server-side code. Express.js, buโ€ฆ More on lemon.io
๐ŸŒ lemon.io
1
December 11, 2024
reactjs - What is the difference using react-router and the express routes.js - Stack Overflow
I am doing a project using react, redux and express, I don't understand what is the difference between react-router and the express routes.js, did I need to combine the two or just use one ? https:// More on stackoverflow.com
๐ŸŒ stackoverflow.com
Express vs Next
Express for sure, but replace Mongo with Postgres More on reddit.com
๐ŸŒ r/reactjs
32
16
June 7, 2023
๐ŸŒ
Reddit
reddit.com โ€บ r/freecodecamp โ€บ should i build my website with nodejs and express or react only
r/FreeCodeCamp on Reddit: Should I build my website with nodejs and express or react only
August 9, 2021 -

Sorry if the question doesnt make sense I am still learning. So I learnt reactjs before nodejs and I just finished nodejs a few days ago and now comparing, I am wondering If I really need nodejs when creating my site. I find doing it with react easy on the mind and I understand the style it is simple components I get it. Nodejs and express on the other hand, not that I do not like it but that just I like the react style of doing it. I came acros the term "mern" and i havent learnt how to do mern but apparently it is combing react node and express and my question is do I really need to use mern or I can keep it simple with just react? and are there any disadvantages or advantages of using either of them?

Top answer
1 of 2
21
I think you have a slight misunderstanding of the purpose of node/expess vs. react. React is a front-end library and generates files that are served to the end user via a web server. It essentially doesn't really matter which web server software you use to serve those files to the end user, unless you need some specific feature. Express is web server software that runs on Nodejs. Express can be configured to serve those static files generated from react, or any other types of files. Or Express doesn't have to do that at all, and instead uses something called 'endpoints' to accept or return formatted data to another application. Express by itself generally does not give you a website front end like React does. Ultimately you will need web server software to send your react site files to users that arrive at your URL. So that can be Express, or some other examples are NGINX, Apache, IIS, Lighttpd, etc. There are LOTS of web servers out there. Hopefully this makes some sense and clears things up a bit? Edit: saw that you asked about MERN. MERN is Mongodb, Express, React, Node. Essentially a stack of software for building powerful websites. Mongdb is a database, personally I use SQL databases instead of NoSQL databases (which Mongodb is). So I use Microsoft SQL Server generally due to my employer's preference. So my stack would probably be SERN. (S for SQL). If you don't need dynamic data fetching for your site (user accounts, different feeds of data, etc), you can probably get away with just React if that's what you like. It really depends on your needs. If you are learning to become a professional Javascript dev, you will need to learn everything you mentioned at some point.
2 of 2
1
I'm not sure you completely understood what you learned. Maybe you went through it too fast? The replies you got so far break it down really well but I'll probably go over these concepts again before moving forward... If you try to learn too much stuff too fast you're bound to mix everything in your head...
๐ŸŒ
Quora
quora.com โ€บ What-is-the-difference-between-Express-and-React-in-terms-of-node-js-development
What is the difference between Express and React, in terms of node.js development? - Quora
Answer (1 of 6): its Totaly false , ExpressJS is used for back office , you can say its like a framework like (Laravel, Symphony ...) , React is used for front office , its a framwork you include in your html file or whatever and interect with the user in the browser . i am using both , and i m...
๐ŸŒ
StackShare
stackshare.io โ€บ stackups โ€บ expressjs-vs-react
ExpressJS vs React | What are the differences?
ExpressJS - Sinatra inspired web development framework for node.js -- insanely fast, flexible, and simple. React - A JavaScript library for building user interfaces.
๐ŸŒ
UPSQODE
upsqode.com โ€บ home โ€บ blogs โ€บ express vs react : which is best? an outstanding backend or js frontend
Express vs React : Which is best? An Outstanding Backend or JS Frontend - UPSQODE
April 4, 2024 - React is a front-end JavaScript library and Express is a back-end framework. here we discuss the use case, Performance and more
๐ŸŒ
Simplilearn
simplilearn.com โ€บ home โ€บ resources โ€บ software development โ€บ learn react tutorial with real-world projects โ€บ the best guide to understanding react and express
Understanding React And Express: (A Comprehensive Guide) | Simplilearn
June 9, 2025 - React is a front-end JavaScript library, and Express is a back-end framework for web applications. This tutorial on React Express will walk you through all the topics. Click here to learn more.
Address ย  5851 Legacy Circle, 6th Floor, Plano, TX 75024 United States
Find elsewhere
๐ŸŒ
UXPin
uxpin.com โ€บ home โ€บ node js vs react js โ€“ a quick comparison of two javascript frameworks
A Quick Node JS vs React JS Frameworks Comparison | UXPin
August 20, 2024 - React uses a declarative paradigm that makes it easier to reason about your application and aims to be both efficient and flexible. It designs simple views for each state in your application, and when your data changes, React efficiently updates and renders just the right components. Node.js: Runs scripts on the server-side, enabling JavaScript to execute outside the browser.
๐ŸŒ
reactjsindia
reactjsindia.com โ€บ home โ€บ expressjs vs reactjs: which framework works best for you
ExpressJS vs ReactJS: Which Framework Works Best For You
January 11, 2023 - You might be wondering, how is that possible to discuss an ExpressJS vs ReactJS comparison, because one is a backend and the other one is for frontend development? But the common link lies between the two is the JavaScript language.
๐ŸŒ
Lemon.io
lemon.io โ€บ home โ€บ questions and answers โ€บ express.js โ€บ what is react express.js vs node.js?
What is React Express.js vs Node.js? - Lemon.io
December 11, 2024 - React.js is a front-end library for building user interfaces, while Node.js is a JavaScript runtime for executing server-side code. Express.js, built on Node.js, is a back-end framework that simplifies server-side development.
๐ŸŒ
DEV Community
dev.to โ€บ techcheck โ€บ creating-a-react-node-and-express-app-1ieg
Creating a React, Node, and Express App - DEV Community
February 14, 2024 - We'll use our Express app to listen for a get request at path '/' (root/homepage). ... The (req, res) => {} is a callback function, where we have access to the request and the response as parameters. We're using the send method on the response object to send a string when the '/' path is hit. You could also send a boolean, or data. Typically this would be a JSON object or an array of data. Now, we can go to our client side React application and install axios.
๐ŸŒ
Simform
simform.com โ€บ home โ€บ the simform blog โ€บ nodejs vs react: comparing learning curve, performance, use-case
Nodejs vs React: Comparing Learning curve, Performance, Use-case
January 28, 2025 - Nodejs and React are popular open-source JavaScript libraries that play distinct roles in web development. React specializes in creating user interfaces, while Nodejs is primarily a server-side technology. Comparing React and Node.js is like comparing apples to oranges.
๐ŸŒ
Radixweb
radixweb.com โ€บ blog โ€บ nodejs-vs-reactjs
React.js vs Node.js: Which Framework Is Right for You?
February 13, 2025 - Explore the key differences between Node.js and React.js in web development and learn which technology suits your business needs for optimal performance.
Top answer
1 of 1
69

Note: this stackoverflow post contains examples and codes that could help you a lot.

It's a classical misunderstanding. Express will handle your backend routes whereas React (with react-router or any front-end routing lib) will handle frontend routes. Your React application will probably be an SPA (single page application), meaning that your server (express or something else) will have to serve the index.html and react will handle your application from here. Which mean that React will evaluate the routes and decide which view to render.

Therefore, you have to ensure that when a users goes on a route like /accounts/me, the servers serves your frontend (react) application if needed, but something like /api/users/me would render data. It's just an example.

A "normal" usage would be to handle your data (via an API) with express and the application (pages and views) only with React.

If you are using server-rendering, it becomes a bit more complicated.

In most cases, yes, you will have to use both.

Edit: it would be easier to answer if your question was more specific about your usage and what you want to do.

Edit 2: Most of the time, it's not the same servers serving the frontend application and the API (data), if it is, just ensure that the application is send when some routes hit the serve: i.e /home, /about (which are obviously -here- not api routes) should be send serve index.html as your frontend application, and React will take care of the routes to decide what to render.

๐ŸŒ
Codeable
codeable.io โ€บ home โ€บ codeable blog โ€บ express js and react architecture differences explained
Express JS and React Architecture Differences Explained - Codeable
September 26, 2025 - Express uses middleware for modularity, React uses components. Express.js delivers speed and flexibility but demands more architectural decisions from developers.
๐ŸŒ
GeeksforGeeks
geeksforgeeks.org โ€บ node.js โ€บ difference-between-node-js-and-react-js
Difference between Node.js and React.js - GeeksforGeeks
July 15, 2025 - Developed and maintained by Facebook, React is used for building the front end of web applications. ... While Node.js handles the backend, React.js powers the frontend of full-stack applications.
๐ŸŒ
Simplilearn
simplilearn.com โ€บ home โ€บ resources โ€บ software development โ€บ understand the differences between react.js and node.js
Understand The Differences Between React.js and Node.js | Simplilearn
1 week ago - ReactJS and NodeJS are both JS technologies, but their uses are different. NodeJS is a framework of JS, and is used for working with or building the backend of an application using JavaScript, whereas ReactJS is a JS front-end library, used for building UI or the frontend of an application.
Address ย  5851 Legacy Circle, 6th Floor, Plano, TX 75024 United States