News for hackers. Stuff that matters.
Re:Welcome to Rails Cheat Sheet by steve_taylor on Saturday May 13, 2023 @10:17AM (#35928652)
Next.js isn’t one giant workaround for anything. People were building isomorphic SPAs using React long before Next was created. All Next.js did is to put it all together in a simple framework.
Re:Welcome to Rails Cheat Sheet by CTmystery on Saturday May 13, 2023 @10:43AM (#35928881)
Some googling tells me that isomorphic SPA means the same page can be rendered server side or client side. Is that what it means to you? It's my first time encountering the term. If so ... people were doing that in react??
Re:Welcome to Rails Cheat Sheet by williamcotton on Saturday May 13, 2023 @12:40PM (#35930058)
I’ve been doing that in React since around 2014.
Re:Welcome to Rails Cheat Sheet by seattle_spring on Saturday May 13, 2023 @01:38PM (#35930696)
> people were doing that in react??

What alternatives would you propose? Usually when people are surprised by this, digging in reveals that they don’t really know what “client-side rendering” means.

Re:Welcome to Rails Cheat Sheet by ransom1538 on Saturday May 13, 2023 @06:47PM (#35933557)
For anyone else out there confused: Next.js != Nest.js.
Re:Welcome to Rails Cheat Sheet by berkle4455 on Saturday May 13, 2023 @07:21PM (#35933768)
I don’t think anyone has heard of nest.js and just assume it’s a typo of next.js
Re:Welcome to Rails Cheat Sheet by abid786 on Sunday May 14, 2023 @12:44PM (#35939261)
It’s really a pity because nest.js is an awesome and very intuitive backend framework. Because it’s written on top of express, the real power comes from being able to drop down to the express layer anytime.