alan2207 / bulletproof-react

🛡️ ⚛️ A simple, scalable, and powerful architecture for building production ready React applications.
MIT License
25.48k stars 2.36k forks source link

Nextjs version #21

Open duythien0912 opened 2 years ago

duythien0912 commented 2 years ago

It will be awesome if we have bulletproof-nextjs what do you think 😆

alan2207 commented 2 years ago

Hey, that is a good idea and something I have already considered but it might be a bit redundant. I agree that choosing between next.js vs plain react is a very important architectural choice. Most of the time I am also choosing next.js as the default option, however, I wanted to make bulletproof-react universal to react and not tie it to next.js specifics and that is the only reason CRA is being used here. Pretty much all of the concepts here can be implemented in a Next.js application with a couple of differences:

Not sure if I missed something. I am curious about what @leerob thinks of this?

leerob commented 2 years ago

Auth and Layouts now have their own docs:

gregarnott commented 2 years ago

I've been seeing a fair amount of developer intent (in module/project discussions and the like) towards using react-static instead of Next.

Ah, React... where every aspect has a swag of valid options, and everything ends up opinionated! (Un-opinionated modules just get consumed into opinionated builds/systems)

"Next vs Gatsby vs react-static" as a search would likely yield a plethora of conflicting opinions...

desiboli commented 1 year ago

bulletproof-nextjs13 😝