Hey Wilfredo, adding the server.js file shouldn't override the default configuration of Next. Next will still be able to server side render as before, all adding that file is doing is giving you control over your routes/business logic on the server side. Everything will keep working as expected with Next
Quick question Ryan, adding express and creating a server.js file overrides the default configuration of Next.js?
Hey Wilfredo, adding the server.js file shouldn't override the default configuration of Next. Next will still be able to server side render as before, all adding that file is doing is giving you control over your routes/business logic on the server side. Everything will keep working as expected with Next
Thanks a lot for you response. I've learned a lot of things :D
Hey Ryan, one last thing in this part. I got and error in the last part, and It was because the
didn't have the key prop, so when I added it the error gone.
Now I go to the next part. Thanks for this awesome tutorial.
Good find Wilfredo, I'll add that to the code!