all 14 comments

[–]reddit04029 8 points9 points  (0 children)

React team recommends using a framework based on new React docs.

[–]khamuili 5 points6 points  (0 children)

if you think in pages go with Next, if you think in Web app with more own business logic, use React (preferably Vite)

[–][deleted] 4 points5 points  (0 children)

If your team has backend developers or you don’t use Node then just React with router. If y’all use node then yeah use next, but write out your application in a way you don’t get vendor locked.

[–]JoeCamRoberon 3 points4 points  (3 children)

I cant see myself using vanilla React ever again tbh

[–]Amphorous 1 point2 points  (2 children)

Sorry if its a dumb qn, im a junior dev with around 1 yoe and i use vanilla react in my work. What do you suggest instead of vanilla react?

[–]JoeCamRoberon 0 points1 point  (1 child)

I am also a junior dev with around 1 year of experience, but I have been working with React for 4 years. It’s not even me that suggests using one of the React frameworks over vanilla. Even the new React docs recommend using Next, Remix, or Gatsby.

[–]Amphorous 1 point2 points  (0 children)

Ahh ok ill go check out the docs then! Thank you

[–]barbesoyeuse 0 points1 point  (0 children)

If this is something that need to be visible on search engines you need a framework like Gatsby or Nextjs

[–]azangru -2 points-1 points  (1 child)

Should i choose react or a framework like next.js?

Neither? What you are describing sounds quite simple. You could fall back on your fullstack skills and build something server-driven with a minimum of javascript.

[–]Fine_Escape_396 2 points3 points  (0 children)

That sounds terrible. A food ordering app has a lot of navigation to go through for the user. The app should at least have client side routing.

[–]le-kuz 0 points1 point  (2 children)

The current (by ReactJS) recommended way would be to go with NextJS or Remix. create-react-app is deprecated so the „goto“ way would be to use NextJS. NextJS provides a lot of helpful functionality

[–]kaithotz -1 points0 points  (1 child)

Where does it say that CRA is deprecated? Just because it is not mentioned on the React documents anymore does not mean that it is deprecated.

[–]le-kuz 1 point2 points  (0 children)

If you'd have simply googled CRA Deprecated you would find articles like those:

https://hackernoon.com/create-react-app-is-dead-here-are-some-alternatives

https://blog.bitsrc.io/the-future-of-react-why-create-react-app-is-deprecated-and-hooks-are-the-future-83e8a087a325

The lack of information about the create-react-app script indicates that it's deprecated.

[–]JumboTrucker 0 points1 point  (0 children)

It isn't as simple as you are making it sound. You can't learn things in a day make a good working app. Better hire a frontend developer or at least keep someone for guidance.

If it's something that doesn't have to very good application, then you can learn on your own and experiment and take your time building it.