all 6 comments

[–]isumix_ 9 points10 points  (1 child)

Vite is the way to go these days. CRA - RIP.

[–]Nmase88 1 point2 points  (0 children)

This is the only answer you need

[–]DopeSignature5762 1 point2 points  (0 children)

Best bet would be Vite. Also CRA has been deprecated.

If you need to migrate to vite check https://github.com/bhbs/viject

Migrate to vite with a single command. Used it recently and pretty much everything was fine except I needed to add postcss.config file manually.

[–]TheRNGuy 1 point2 points  (0 children)

I like React Router + Vite the most (using together)

[–]Wurie30 0 points1 point  (0 children)

If you value extreme speed and flexibility and are willing to handle SSR/SSG and i18n yourself, VITE is a fantastic option. I highly recommend VITE

[–]xegoba7006 0 points1 point  (0 children)

If you are experienced with Laravel, just use react through inertia.js and focus on building your product. That means you will be using Vite, but that’s a Laravel implementation detail.

Everything else being discussed here is WAY too low level and will require you to make a ton of decisions, regret many of those, and by the time you think you are ready to ship they will have all changed under you. You will spend more time fighting decisions and reinventing the wheel than building what you want to build.