React methods parameters are now passed as a single map