{"id":67865,"library":"swc-ecma-transforms-react","title":"Swc Ecma Transforms React","description":"rust port of babel and closure compiler.","status":"active","version":"43.0.0","language":"rust","source_language":null,"source_url":"https://github.com/swc-project/swc","tags":["swc","react","jsx","transformation","compiler"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\nswc_ecma_transforms_react = \"43.0.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add swc_ecma_transforms_react","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"react","correct":"use swc_ecma_transforms_react::react;"}],"quickstart":{"code":"use swc_ecma_transforms_react::react;\nuse swc_ecma_ast::Program;\n\nlet program = Program::default();\nlet transformed = react(program, Default::default());\nprintln!(\"Transformed\");","lang":"rust","description":"Apply React JSX transform to a program."},"warnings":[{"fix":"Ensure you have swc_core and proper plugin configuration","message":"Requires specific swc compiler setup","severity":"gotcha","affected_versions":">=0.0.0"}],"env_vars":null,"search_vec":"'babel':8 'closur':10 'compil':11,16 'ecma':2 'jsx':14 'port':6 'react':4,13 'rust':5 'swc':1,12 'transform':3,15","created_at":"2026-06-17T17:42:39.089419+00:00","updated_at":"2026-06-17T17:42:39.089419+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/swc-project/swc","github":"https://github.com/swc-project/swc","docs":"https://docs.rs/swc_ecma_transforms_react/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}