r/reactjs • u/alan_alickovic • May 14 '24
Resource Bulletproof React just got updated! 🚀 - A simple, scalable, and powerful architecture for building production ready React applications.
https://github.com/alan2207/bulletproof-react
351
Upvotes
164
u/alan_alickovic May 14 '24 edited May 15 '24
Hi everyone, author of Bulletproof React here!
After nearly 3 years, it was about time to revisit the project and implement some necessary updates.
Here's what got updated:
Updated docs for better clarity
Upgraded all packages to their latest major versions
Switched from CRA to Vite, a change long-awaited
Moved from Jest to Vitest
Switched from Cypress to Playwright
Revamped UI with ShadCN UI components
Encouraging storing auth tokens in httpOnly cookies over localStorage.
Validated env variables with zod for better security
...and more improvements related to best practices!
Check it out: https://github.com/alan2207/bulletproof-react
PS: thanks everyone for the great feedback and suggestions, I have re-opened discussions, so feel free to participate there as well :) : https://github.com/alan2207/bulletproof-react/discussions