Andrey Antukh
6c19c7c0c4
⚡ Memoize static options in vertical-align* component
...
Wrap the radio-button options vector in `mf/with-memo []` so the
vector allocation and `(tr ...)` calls happen once per component
mount instead of on every render.
Also document the translation memoization rule in frontend/AGENTS.md:
`(tr ...)` must never be called at namespace level (locale is
runtime-only), and static option lists should always be wrapped in
`mf/with-memo []`.
Signed-off-by: Andrey Antukh <niwi@niwi.nz>
2026-04-22 08:55:29 +02:00
..
2026-04-21 08:24:29 +02:00
2026-04-21 22:43:46 +02:00
2026-04-22 08:55:29 +02:00
2026-04-21 14:39:06 +02:00
2026-04-21 17:31:39 +02:00
2026-04-20 23:58:53 +02:00
2026-04-20 11:02:23 +02:00
2026-04-20 23:58:53 +02:00
2026-04-15 12:27:18 +02:00
2026-04-08 15:44:09 +02:00
2026-04-20 23:58:53 +02:00
2026-04-21 17:31:39 +02:00
2026-04-21 17:31:39 +02:00
2026-04-15 12:27:18 +02:00
2026-03-26 10:09:54 +01:00
2026-03-09 13:02:14 +01:00
2026-04-20 23:58:53 +02:00
2026-03-18 12:52:58 +01:00
2026-03-26 10:09:54 +01:00
2026-04-14 13:21:51 +02:00
2026-03-26 10:09:54 +01:00
2026-04-20 23:58:53 +02:00
2026-04-21 20:31:30 +02:00
2026-04-20 23:58:53 +02:00
2026-03-12 19:07:44 +01:00
2026-04-20 23:58:53 +02:00
2026-04-15 12:27:18 +02:00
2026-03-26 10:09:54 +01:00
2026-04-21 08:24:29 +02:00
2026-04-20 23:58:53 +02:00
2026-04-10 13:33:29 +02:00
2026-04-20 23:58:53 +02:00
2026-04-21 20:31:30 +02:00
2026-04-20 23:58:53 +02:00
2026-04-15 12:27:18 +02:00
2026-04-20 23:58:53 +02:00
2026-04-21 20:31:30 +02:00
2026-04-20 23:58:53 +02:00
2026-04-21 22:43:46 +02:00
2026-04-08 15:44:09 +02:00
2026-04-21 22:43:46 +02:00
2026-03-26 10:09:54 +01:00
2026-04-07 14:55:57 +02:00
2026-04-09 10:05:56 +02:00