bulletproof-react
bulletproof-react copied to clipboard
🛡️ ⚛️ A simple, scalable, and powerful architecture for building production ready React applications.
What do you think about organizing graphql api as follows and importing everything from api folder? api | +-- fragments # one file per fragment (default export) + index.js to...
In React there are many ways to handle state. I personally use redux (via redux toolkit), context and also state at component level (useState). What do you think about specializing...
lib/auth.tsx `import { loginWithEmailAndPassword, ... } from '@/features/auth';` features/auth/components/LoginForm.tsx `import { useAuth } from '@/lib/auth';` Wouldn't this Dependency cycle?
This project provided a good inspiration for my project architecture, but I'm wondering how to structure when using `styled-component` ? Thanks if anyone could help me.
React query has changed to Tanstack\react-query v4 and brings lots of new APIs and improvements. Old code referring react-query needs to be updated to new API.
Hi, I have a question about the ESLint rule proposed in [Project Structure](https://github.com/alan2207/bulletproof-react/blob/master/docs/project-structure.md), which is the following: { rules: { 'no-restricted-imports': [ 'error', { patterns: ['@/features/*/*'], }, ], // ...rest...
PromiseValue used in 'src/lib/react-query.ts' from 'type-fest' library was removed as its deprecated in favor of Awaited keyword in typescript 4.5. Pls upgrade typescript version to the latest.
The notification popups are not triggering their transition, they just instantly appears and disappears. Do you have any idea what might be the issue? Tried on macOS Monterey and Windows...
Hi, I really interested in this project. While I was reading the README.md document, I found some grammatical errors that might make the document unclear. I am glad if I...
After cloning and installing dependencies with yarn, I face this error . Is there any way to fix it? npm version: 8.5.0 node version: v16.14.2 ``` 'Helmet' cannot be used...