react, assignment type control parsing