I have now learned to work with nodejs. but now I wanted to learn more about making better websites. So I found next.js, That I have learned the basic of. But I don't understand how I work with them to together.
So my question is, How to I have a node.js server-side and next.js on the client-side?
If you have any other thing to learn or tell me, please tell me all I need to know.
probably you misunderstood what next.js is.
NodeJS is used to create backend apps that handled HTTP request, more information about backend
React is a JS library to create Frontend Application which is served by a server. But a React App is a really heavy js file and is really slow to be served, then in order to improve the performances you have to pre-render the html in the server and then send the pre-rendered web page to the client. More about SSR vs CSR
Next.JS is a framework to develop SSR React App.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.