react.md

React Technology Stack

IMPORTANT NOTE: This document is not final; it is under review.

This document outlines the specific standards and conventions for developing web applications with React.

Core Stack

State Management

Forms

Testing

Naming Conventions

Directory Structure

A feature-based directory structure is the standard.

src ├── assets # Static assets ├── components # Shared/reusable components (dumb UI) ├── features # Feature-based modules │ └── user-profile │ ├── components # Components specific to this feature │ ├── hooks # Hooks for business logic │ ├── index.ts # Public API for the feature module │ └── types.ts # Types specific to this feature ├── hooks # Global custom hooks ├── lib # Utility functions, helpers ├── providers # Global React context providers ├── styles # Global styles, Tailwind config └── types # Global TypeScript types