This should be `onSearchState` to match the naming scheme of the rest of the events.