I did some research and I stumbled upon this:
https://www.section.io/engineering-education/node-versus-next-react-approach/
Next.js is a react server side framework, which some advantages. But its main selling point is that it renders react server side.
What I do not understand is that: cant we already do this with node? i believe react allows a to string method to convert react to an HTML/js file?
https://reactjs.org/docs/react-dom-server.html
(and I know we can also use the rehydration method for combined server-client experience)
Also like, isnt next.js based off node ie just a node framework?
I guess I am trying to understand why i would want to learn next.js.
Thanks :)
Good day everyone, been learning react and typescript for quite sometime now, and would want your opinions on what I should learn next.
My stacks are: React, typescript and tailwind (of course I'm very well grounded in css and sass already).
So far, all the apps I've built does not really have an authentication and I'll like to know how to setup authentication for apps.
Even though I heard that next js, is also good in that regard, as an FE who wants to eventually know how the backend and database works and how to create APIs general, should I learn Node js, and it's ecosystem (express, mongodb/postgre SQL, graphql etc), or should I learn next js?
Videos
Correct me if the title is wrong, I am a beginner to next.js, and I've seen some project videos with using next backend in it and some other video with express as backend. So, which is better or both are same ?. And how do I host this next.js backend or is it needed to host ?
The article explorres how both Next.js and Node.js are integral to modern web applications, while they serve different purposes -Next.js focuses on the frontend experience while Node.js underpins server-side operations - anhe combination of their capabilities allows developers to create robust and dynamic websites efficiently: Next.js and Node.js Compared for Modern Web Developers
I'm building currently a website that I will port later into a Windows app through electron.js, I know react.js and node.js with express, I've tried nest.js but didn't like it and it confused me. So after some researching I found out about next.js and that It would be a great upgrade, I'm confused though because it seems you can create all the functions on next.js that I already have on node.js, like register user etc, but the app will have a lot of features ,like friends, Twitter like wall, chat, some external API calls to other databases and a lot more features that I cant disclose now, should I keep all the logic in the node.js and just change the frontend to next.js? Would the SSR still work? Do I need to keep my routes in node.js, as user.routes.ts or use the routes in the next.js?
Hopefully i have found the right place to ask my question.
im a student developer(frontend) who needs som guidance on how i should be moving forward with my coding skills. I have been using react and nodejs for about 2 years but recently created a trello clone with nextjs and i really like the framework. My interest in coding is not limited to just the frontend, I have also made some simple backend apps(webScraper, rest apis). And my goal is to become somewhat of a decent fullstack developer in the future.
So should i stick to react as frontend and nodejs as backend? or should go over to nextjs?
I'm very confused what should I use for backend together with next.js. which would be better for performance, scalability and SEO , nextjs with trpc, reactquery and prisma or nodejs with express and mongoDB?
Im trying to gain a deeper understanding of how JavasScript interacts with Node.js, Next.js, and React. What does Node.js, being a runtime for JavaScript, do on a lower level? What does Next.js do? How are they incorporated when using React?
The article explorres how both Next.js and Node.js are integral to modern web applications, while they serve different purposes -Next.js focuses on the frontend experience while Node.js underpins server-side operations - how combination of their capabilities allows developers to create robust and dynamic websites efficiently: Next.js and Node.js Compared for Modern Web Developers
I’m using Next.js with TypeScript and Tailwind to build a boilerplate for future SaaS projects. I understand that Next.js can serve React components on the server, which is great for SEO purposes, but I’m curious how others typically handle the backend.
Do people generally use Next.js as a "client-side only" app, or is it more common to integrate everything—database connections and 3rd party APIs—directly into the Next.js server?
In my case, I’ve already developed a pure JavaScript Node.js API with the database fully set up. I’m wondering if I’m overcomplicating things by keeping a separate API layer. Would it be simpler and more secure to just move everything into the Next.js server?
My main questions are:
Which approach is more secure: using Next.js with a separate Node.js API or integrating everything into the Next server?
Does one approach make working with 3rd party services easier or harder?
Are there challenges with integrating Next.js with Node.js? Especially since is TS to JS?
I want to learn Next.js, but before that, do I really need to know Node.js? If so, how much do I really need to know before I can start learning Next.js? I do know React pretty well, so I will assume learning Next.js with React should be no problem for me.
Any advice/insight is much appreciated!
Hey there, Im a junior frontend dev (vanilla js, react) with some Node/express experience (built some smaller full stack apps - weather app, car rental, etc). Currently, Im working as a FE dev and Id love to keep on learning Node/Express along with some FE frameworks/libraries in order to build some passion projects (full stack ones).
Recently I came across Next.js and my question is - can I build a full stack app utilizing both next.js and node/express? Is it something that is considered as a common practice? I mean, I get the idea behind Next.js, it provides a "serverless" option to build a fullstack app using Nexts API, etc. but Id still love to work with Node/express. On the other hand, I appreciate Nexts features such as SSR, SEO optimalization, etc but Im a bit confused. Can I use Next along with Node/express to create my custom server that will server my own, custom API and at the same time utilize SSR or SSG via Next? Or I gotta decide between a fullstack app comprising of solely Next.js (+ a db of course) and a full stack app utilizing React & node/express?
Appreciate all the answers! Thank u guys.
I am new to Node.js and I am confused. They all seem to do the same thing.
I have a good understanding of core Node.js, Express.js, npm, package.json/package.lock and node_modules. But nothing more than that.
Update: Next.js is written twice in question. I meant Nest.js
I am used to working with PHP and Java in the past. So if you can tell an equivalent of Next, Nest and NX to something similar in PHP or Java eco-system, it will also help me.
Good day everyone, so I've been learning react for a while now while styling it using tailwind. I feel proficient in my react skills. Being someone who has never tried authenticating my apps with a third party services like firebase or supabase (I mainly just use a dummy object to recreate a login style user).
Should I start learning node js or should I consider learning next js? I understand that next js is a full stack react framework, as such I'll be requiring backend knowledge right?
You should ask yourself if you needed node before you started react :) node is just backend js which makes the question a bit weird unless you can be more specific.
All good!
I think it is better to start learning how things works with Node before learning NextJS backend stuffs.
If you want to be able to understand what happens under the hood of NextJS, you can make a CRUD with Node also implement authentication, middleware’s etc…
I need guidance on which tech should be better for creating a SaaS.
-
Next.js
-
React+node.js
I’m a self taught developer who’s new in Web development. I’m struggling to figure out what’s the best road map to learning next.js. Please I need your advice on this topic whether to learn Next js before node js or should I start learning node js before next js. Your contributions will be very helpful to me.
I see that some courses and boot camps still teach react+node without teaching nextjs, is there a reason for that or is it just that their curriculum is not updated yet?