teqo-backup/src/components/campaign
Francisco Ignácio Fontoura Solla 69c970aa0a perf: refactor FetchState object to primitive status to prevent unnecessary re-renders
Using an object for fetch state caused re-renders even when the status
was the same, because each setFetchState({ status: 'idle' }) created a
new object reference. Now using separate primitive state variables:
- fetchStatus: 'idle' | 'fetching' | 'error'
- fetchError: string | null

React's useState does reference equality checks, so primitives only
trigger re-renders when the value actually changes.
2026-08-06 01:35:29 -03:00
..
activity B138 — atividades: presets e busca na omnibox; remove abas 2026-08-02 23:26:48 +00:00
advisor B142 — format + impl plan deferred debts note 2026-08-02 23:09:01 +00:00
auth B123 — orientação na shell + aba sem títulos de seção no corpo 2026-08-02 18:08:47 +00:00
dashboard feat: B161 — continuous virtualized campaign table lists with sticky controls 2026-08-05 23:33:41 -03:00
demand fix: stabilize rowKey function to prevent virtualizer recalculation on every render 2026-08-06 01:32:55 -03:00
invite style: prettier 2026-08-01 06:09:33 +00:00
leadership fix: stabilize rowKey function to prevent virtualizer recalculation on every render 2026-08-06 01:32:55 -03:00
map B13+: concordância LQ, readout de escopo no mapa e DRY do build de agregados. 2026-07-29 16:26:43 -03:00
municipality fix: stabilize rowKey function to prevent virtualizer recalculation on every render 2026-08-06 01:32:55 -03:00
organization fix: stabilize rowKey function to prevent virtualizer recalculation on every render 2026-08-06 01:32:55 -03:00
shared perf: refactor FetchState object to primitive status to prevent unnecessary re-renders 2026-08-06 01:35:29 -03:00
shell feat: AI chat 'Sollinha' — campaign data assistant (v1 read-only) 2026-08-04 06:17:31 -03:00
stateDeputy fix: stabilize rowKey function to prevent virtualizer recalculation on every render 2026-08-06 01:32:55 -03:00
suggestion Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
supporter B137 — Colunas ao lado da omnibox e fim do Ordenado por residual 2026-08-03 00:06:15 +00:00
tour Engineering Pass 3: consolidate patterns and lock them with guards. 2026-07-29 06:11:29 -03:00
votePledge test(e2e): assert municipality omnibox instead of Ordenado por label 2026-08-02 20:30:55 +00:00