# Technology Stack

> Technology choices and architectural constraints for AG Grid. Use when choosing technologies, adding dependencies, or understanding zero-dependency requirements.

- Skill: `ag-grid/technology-stack-2` (Agent Skill)
- Install (CLI): `npx get-skill add ag-grid/technology-stack-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/ag-grid/technology-stack-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: ag-grid (https://skillmd.com/u/ag-grid)
- Updated: 2026-11-16
- Page: https://skillmd.com/skills/ag-grid/technology-stack-2

---


# Technology Stack

This document outlines the technology choices and constraints for the AG Grid codebase.

## Core Principles

### Zero Runtime Dependencies

The main AG Grid libraries (`ag-grid-community`, `ag-grid-enterprise`) must have **ZERO third-party runtime dependencies**. This ensures:

- Minimal bundle size for end users
- No dependency conflicts
- Complete control over behaviour
- Predictable performance characteristics

### Framework Agnostic Core

The core grid logic is framework-agnostic. Framework-specific wrappers (`ag-grid-react`, `ag-grid-angular`, `ag-grid-vue3`) provide integrations while the core remains pure TypeScript.

## Build System

- **Nx**: Monorepo orchestration and build caching
- **Yarn**: Package management (version pinned by `packageManager` in `package.json`)
- **TypeScript**: Strict mode enabled across all packages
- **ESBuild/Rollup**: Bundle generation

## Runtime Technologies

### Rendering

- **Virtual DOM**: Custom high-performance rendering engine
- **CSS-in-JS**: Avoided - use CSS modules and traditional stylesheets
- **Canvas**: Used only for specific features (e.g., sparklines)

### State Management

- Custom internal state management - no external libraries

## Testing Technologies

- **Vitest**: Unit, integration, and behavioural testing (`testing/angular-tests` still uses Jest)
- **Playwright**: E2E testing, and the browser behavioural benchmarks run in (`./benches.sh`)
- **happy-dom**: DOM simulation for the Vitest package and behavioural projects (the `community-modules/locale`, `documentation/ag-grid-docs` and `external/ag-website-shared` projects run in `node`; `testing/angular-tests` still uses jsdom, via Jest)

## Code Style

- **ESLint**: Linting with custom rules
- **Prettier**: Code formatting (via `yarn nx format --sort-root-tsconfig-paths=false`)
- **TypeScript Strict Mode**: Enforced across all packages

## Browser Support

- Modern browsers only (ES2020 target)
- No IE11 support
- See browserslist configuration for specifics

## Documentation

- **Astro**: Static site generation for documentation
- **Markdoc** (`.mdoc`): Documentation content format

