I’m building a web app for Restaurant Reservations which will have dedicated URLs and pages with rich text, heavy images, for each outlet.
My main goal is to achieve faster webpage speed and performance, along with a strong user experience so that ad campaigns work well and we can retain the customer to book through us.
Focus is mobile site at the moment. Will explore an app in later stage, 8-12 months later.
I’m deciding between using React or Next.js, and I’d like to understand which one would be more suitable for me and why it would be better?
Top comments (1)
They're different things. Next is a framework which will do server-side rendering ("SSR") and serve up React components.
If you have a web app using a different framework, you can use React components as well, but your existing app probably can't use Next, as it's also a framework.
The simplest thing to do is use Next to serve a responsive website which will work on desktops and mobiles rather than an app (apps are still trendy but don't usually offer much benefit for your use case). Put it behind a CDN like Cloudflare so that all the assets get cached, and design the front end to use React components.
Also something I'd note is that React is very much going out of fashion. It's having to change a lot to keep up with modern technology, and you might as well pick a modern system in the first place (there are lots, I'm not going to recommend one!)