--- trigger: glob glob: --- | No | Category | Guideline | Description | Do | Don't | Code Good | Code Bad | Severity | Docs URL | |----|------------|----------------------------------|--------------------------------------------------|--------------------------------------------------------------------|--------------------------------------------------------------|--------------------------------------------------------------------------|--------------------------------------------------------------------------|------------|-------------------------------------------------------------------------| | 1 | Components | Use functional components | Hooks-based components are standard | Functional components with hooks | Class components | const App = () => { } | class App extends Component | Medium | [React Native Docs](https://reactnative.dev/docs/intro-react) | | 2 | Components | Keep components small | Single responsibility principle | Split into smaller components | Large monolithic components |