Fix react stutter

add shouldComponentUpdate perf hook which fixes the bug.