When loading the app, the selector getTextFilter throws a runtime error:
- TypeError: textFilter.find is not a function
The error occurs when stale or malformed data (e.g., from localStorage or persisted Redux state) causes textFilter to be an invalid type (e.g., string or object). This is especially common after state shape changes or cache corruption.
The app clears localStorage and forces a cache-busting reload to recover.
When loading the app, the selector
getTextFilterthrows a runtime error:The error occurs when stale or malformed data (e.g., from
localStorageor persisted Redux state) causestextFilterto be an invalid type (e.g., string or object). This is especially common after state shape changes or cache corruption.The app clears
localStorageand forces a cache-busting reload to recover.