Clarification on React