Define entirely one property at a time.
Rather than creating each and altering them later. Also, factorise a few property accesses. Also, move setInitialState call closer to state creation code.
Showing
Please register or sign in to comment