Renamed parentState to previousState
Added skipEqual to previousState