replace `react/lib/merge` and `react/lib/copyProperties` with `react/lib/Object.assign`