From c33482ad3d09bd28808a5009a610f39ea3a8ec33 Mon Sep 17 00:00:00 2001 From: Jules Rosser Date: Tue, 26 May 2026 13:20:55 -0700 Subject: [PATCH] Add memoization note to CLAUDE.md --- CLAUDE.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index 42d574cf9579..2178037c241f 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -183,6 +183,10 @@ The skill provides guidance on: - **Build Compliance**: Android 16KB page alignment (Google Play requirement) - **Platform Tooling**: Xcode/Android Studio profiling and debugging setup +### Memoization + +React Compiler (`babel-plugin-react-compiler`) runs in the build pipeline (see `babel.config.js`) and auto-memoizes object literals, callbacks, JSX, and derived values inside components and hooks, excluding `tests/`. + ### Code Quality - **TypeScript**: Strict mode enabled - **ESLint**: Linter. Pre-existing violations are grandfathered via [`eslint-seatbelt`](https://github.com/justjake/eslint-seatbelt).