Nat
Nat
TTCTheo's Typesafe Cult
Created by Nat on 4/15/2025 in #questions
When to use NextJS instead of just React?
TL,DR: For anything not business related, are there usecases better suited for Next than plain React+Vite, vanilla JS and some libs?
Asking here because I haven't quite understood from my research (I may be stupid :happy: ). My background is as a Game Developer, am currently learning front-end with a few one-page projects, and my backend experience is limited to university projects and SQL queries. In games, we typically have the user's machine store and process everything (even something like Wordle could use a local library and pass a date to get a word). So when I began front-end stuff that was my approach as well, first with just vanilla JS (like those Hyperplexed videos) then moved to React. Even when I made forms they'd be processed in the client to generate a final result. I also used PokeAPI when trying to make a more advanced app but the lack of filtered endpoints (say, just the sprites instead of gathering the entire entry) made me want to make it an offline mobile/desktop app with baked data instead. Maybe it's because all my project ideas are small tools or toys that can be processed in the client, and don't use a lot of data, and my general familiarity with backend in general and NextJS in particular, but I still can't grasp it. Are there any kinds of small apps that want the server processing / server rendering that Next provides or does that only pop up when you need auth and payment processing and stuff? Thanks in advance from a noob dev.
6 replies
TTCTheo's Typesafe Cult
Created by Nat on 1/1/2025 in #questions
Enable mouse scroll or mouse drag in number input?
No description
11 replies