Socket
Socket
Sign inDemoInstall

@babel/plugin-transform-react-jsx-development

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/plugin-transform-react-jsx-development

Turn JSX into React function calls in development


Version published
Weekly downloads
11M
decreased by-19.25%
Maintainers
4
Weekly downloads
 
Created

What is @babel/plugin-transform-react-jsx-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.

What are @babel/plugin-transform-react-jsx-development's main functionalities?

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' />;

Other packages similar to @babel/plugin-transform-react-jsx-development

Keywords

FAQs

Package last updated on 02 Oct 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc