react code generation