{"library":"babel-plugin-react-transform","type":"library","category":null,"description":"This Babel plugin wraps React components with arbitrary transforms, enabling instrumentation like hot reloading, error catching, and render logging. Current stable version is 3.0.0 (Babel 6 support). It was deprecated in favor of React Hot Loader 3 and should not be used in new projects. The plugin is part of a highly experimental ecosystem; its API changed between v1.x and v2.x, with the `target` option renamed to `transform` and the config moved under a `transforms` property. Alternatives include React Hot Loader 3 and newer tools like Fast Refresh.","language":"javascript","status":"deprecated","version":"3.0.0","tags":["javascript","babel-plugin","react-transform","instrumentation","dx","react","reactjs","components"],"last_verified":"Wed May 27","install":[{"cmd":"npm install babel-plugin-react-transform","imports":["import reactTransform from 'babel-plugin-react-transform'","{\n  \"plugins\": [\"react-transform\"],\n  \"env\": {\n    \"development\": {\n      \"plugins\": [[\"react-transform\", {\n        \"transforms\": [{\n          \"transform\": \"react-transform-hmr\",\n          \"imports\": [\"react\"]\n        }]\n      }]]\n    }\n  }\n}","import hmrTransform from 'react-transform-hmr'"]},{"cmd":"yarn add babel-plugin-react-transform","imports":[]},{"cmd":"pnpm add babel-plugin-react-transform","imports":[]}],"homepage":null,"github":"https://github.com/gaearon/babel-plugin-react-transform","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/babel-plugin-react-transform","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-react-transform/compatibility"}}