Is Next.js Worth It for Frontend-Only Projects?

0
2
Asked By CuriousCoder92 On

I'm a college student currently working on a full-stack personal project. Initially, I was planning to use React with FastAPI, but I find myself more experienced in backend work, especially with FastAPI. My frontend experience comes primarily from a group project I did a while back, where I had to do some work in React, but I wouldn't say I'm particularly experienced in that area. For this project, I'm creating a website that displays regular weather information like what you'd see in a phone weather app, along with a section for actual weather model runs. I have a hobby for hurricane tracking, so I wanted to build something related to that. I'm planning to automatically fetch data from Amazon's storage or NOAA, process it, and let users choose between various parameters like pressure and wind. Since my backend setup is solid, I'm unsure if I should go with Next.js for the frontend or just stick to React. Would Next.js be beneficial, even if I'm only focusing on the frontend?

5 Answers

Answered By OldSchoolNerd88 On

I haven’t used Next.js in a while, so I can't speak to its current state, but you might want to consider Vuetify too. Not that it's directly comparable, but it has a nice single component file structure and built-in Material UI elements. Still, you can definitely do what you want in Next.js.

Answered By BackendBuddy99 On

Given your strengths with FastAPI, you might want to stick with plain React and Vite. It keeps your project clean and allows you to leverage the backend skills you have. Next.js is cool, but it can feel excessive for a frontend-only focus unless you need its special features like SEO or hybrid rendering for displaying your weather data.

Answered By DevDive24 On

Absolutely, you can use Next.js primarily for frontend work! Most of what you can do in Next.js relates to frontend, with just a few backend endpoints for special cases. It's a great fit if you're looking for routing and some handy API configurations.

Answered By FrontendFanatic On

Definitely! I use Next.js even for projects that are purely frontend. I love its routing capabilities and built-in settings like Tailwind CSS. If you're comfortable with it, it's worth exploring.

Answered By JustReacting On

Next.js basically adds backend features on top of React. If you’re not utilizing those backend functionalities, just go with React for your project.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.