Security News
Internet Archive Hacked, 31 Million Record Compromised
The Internet Archive's "Wayback Machine" has been hacked and defaced, with 31 millions records compromised.
@babel/plugin-transform-react-jsx-development
Advanced tools
Turn JSX into React function calls in development
The @babel/plugin-transform-react-jsx-development package is a Babel plugin specifically designed for transforming React JSX syntax into JavaScript code during development. This plugin provides enhanced debugging capabilities by including more descriptive names and locations in the transformed code, which helps in debugging React components more effectively.
Transform JSX to JavaScript
Converts JSX syntax into JavaScript, making it understandable by browsers. In development mode, it includes specific details such as component names and line numbers to aid in debugging.
const element = <div>Hello, world!</div>;
Source location tracking
Embeds source location information into the transformed code, which helps in tracing back to the original source code location during debugging.
const profile = <Profile name='John Doe' />;
Similar to @babel/plugin-transform-react-jsx-development, this package transforms JSX into JavaScript. The main difference is that it is optimized for production use, focusing on performance optimizations and smaller output without detailed debugging information.
This package is a Babel preset that includes @babel/plugin-transform-react-jsx along with other plugins and configurations tailored for React apps. It simplifies setup but is less customizable compared to using individual plugins like @babel/plugin-transform-react-jsx-development.
Turn JSX into React function calls in development
See our website @babel/plugin-transform-react-jsx-development for more information.
Using npm:
npm install --save-dev @babel/plugin-transform-react-jsx-development
or using yarn:
yarn add @babel/plugin-transform-react-jsx-development --dev
v7.25.7 (2024-10-02)
babel-helper-validator-identifier
babel-traverse
babel-plugin-transform-classes
super()
check (@nicolo-ribaudo)babel-generator
infer
in compact mode (@nicolo-ribaudo)[no LineTerminator here]
after nodes (@nicolo-ribaudo)babel-types
babel-core
--experimental-require-module
(@nicolo-ribaudo)babel-helper-compilation-targets
, babel-helper-plugin-utils
, babel-preset-env
babel-plugin-proposal-destructuring-private
, babel-plugin-syntax-decimal
, babel-plugin-syntax-import-reflection
, babel-standalone
babel-generator
[no LineTerminator here]
before nodes (@nicolo-ribaudo)babel-plugin-transform-typescript
babel-types
BABEL_TYPES_8_BREAKING
at startup (@nicolo-ribaudo)FAQs
Turn JSX into React function calls in development
The npm package @babel/plugin-transform-react-jsx-development receives a total of 9,999,898 weekly downloads. As such, @babel/plugin-transform-react-jsx-development popularity was classified as popular.
We found that @babel/plugin-transform-react-jsx-development demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Internet Archive's "Wayback Machine" has been hacked and defaced, with 31 millions records compromised.
Security News
TC39 is meeting in Tokyo this week and they have approved nearly a dozen proposals to advance to the next stages.
Security News
Our threat research team breaks down two malicious npm packages designed to exploit developer trust, steal your data, and destroy data on your machine.