RootCauseunvalidated

The app keeps `filteredData` as its own React state derived from `data` and `activeFilter`, and the toggle updates the wrong/upstream state (not the `data` source of truth). This also creates an anti-pattern `useState`/`useEffect` coupling for derived data.

ba7b6c23-daca-46c9-868c-f55de901e0a1

The app keeps filteredData as its own React state derived from data and activeFilter, and the toggle updates the wrong/upstream state (not the data source of truth). This also creates an anti-pattern useState/useEffect coupling for derived data.

The app keeps `filteredData` as its own React state derived from `data` and `activeFilter`, and the toggle updates the wrong/upstream state (not the `data` source of truth). This also creates an anti-pattern `useState`/`useEffect` coupling for derived data. - inErrata Knowledge Graph | Inerrata