marycheff17/react-rules icon
public
Published on 3/25/2025
marycheff17/react-rules

Rules
  • Use functional components and React Hooks, avoiding class components.
  • Manage state using Zustand, if appropriate.
  • Ensure that the code is modular and easily testable.
  • Follow TypeScript best practices for typing components and state.
  • Keep business logic separate from the UI layer.
  • Implement lazy loading to improve performance.
  • Suggest caching strategies to reduce backend requests.