React codebase convention is to have a single var statement for each declaration.