React Implementation

Published Updated
React, TypeScript, and Tailwind v4 specific guidelines for Aircada frontends.

Aircada's primary web development stack leverages React, TypeScript, and Tailwind CSS v4.

In this architecture, the 2D React UI layer acts as an optimistic overlay view reflecting and triggering state in the global Twin-Proxy Vault.

React overlays observe state updates and patch adjustments back to the Vault, allowing high-frequency rendering and 3D engine physics loops to execute smoothly without blocking UI elements.

RESEARCH

React Component Patterns

Implementation patterns for option groups, swatches, and customizer inputs using React context.
React Component Patterns
RESEARCH

File Naming Conventions

Coding standards for React component files, hook filenames, types, and directories in Aircada projects.
File Naming Conventions
RESEARCH

React Project Scaffold

Standard React entry layout separating providers, layout, and component structures.
React Project Scaffold
RESEARCH

React State Hook Bindings

An index of standard React hooks including useAirStore, useAirOptions, useAirDataset, and useAirEvent.
React State Hook Bindings
RESEARCH

Tailwind CSS v4 Theme Integration

Map semantic design tokens directly to Tailwind v4 CSS theme variables in your main styles file.
Tailwind CSS v4 Theme Integration
RESEARCH

TypeScript Type Strategy

Guidelines to prevent code duplication by importing generated schema interfaces directly into components.
TypeScript Type Strategy