{"library":"babel-plugin-transform-react-jsx","type":"library","category":null,"description":"This package, `babel-plugin-transform-react-jsx` version 6.24.1, is the legacy plugin for transforming JSX syntax into `React.createElement` calls (or custom pragma calls) within Babel 6 projects. It was the standard way to process JSX for JavaScript applications using Babel's previous major version. This plugin is no longer actively maintained and has been superseded by `@babel/plugin-transform-react-jsx` (and often integrated via `@babel/preset-react`) in Babel 7 and later. Projects currently on Babel 7 or 8 should use the scoped `@babel/plugin-transform-react-jsx` to ensure compatibility with modern React runtimes (classic or automatic) and the latest JavaScript features. This package is relevant only for maintaining older codebases that are specifically pinned to Babel 6.","language":"javascript","status":"abandoned","version":"6.24.1","tags":["javascript","babel-plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-transform-react-jsx","imports":["{\n  \"plugins\": [\"transform-react-jsx\"]\n}","const babel = require('babel-core');\nconst code = 'const element = <div>Hello</div>;';\nbabel.transform(code, { plugins: ['transform-react-jsx'] });","{\n  \"plugins\": [\n    [\"transform-react-jsx\", {\n      \"pragma\": \"h\"\n    }]\n  ]\n}"]},{"cmd":"yarn add babel-plugin-transform-react-jsx","imports":[]},{"cmd":"pnpm add babel-plugin-transform-react-jsx","imports":[]}],"homepage":null,"github":"https://github.com/babel/babel","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-transform-react-jsx","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/babel-plugin-transform-react-jsx/compatibility"}}