Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-transform-react-jsx

Package Overview
Dependencies
Maintainers
6
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-transform-react-jsx - npm Package Compare versions

Comparing version 6.22.0 to 6.23.0

4

package.json
{
"name": "babel-plugin-transform-react-jsx",
"version": "6.22.0",
"version": "6.23.0",
"description": "Turn JSX into React function calls",

@@ -13,3 +13,3 @@ "repository": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-react-jsx",

"babel-runtime": "^6.22.0",
"babel-helper-builder-react-jsx": "^6.22.0",
"babel-helper-builder-react-jsx": "^6.23.0",
"babel-plugin-syntax-jsx": "^6.8.0"

@@ -16,0 +16,0 @@ },

@@ -98,4 +98,14 @@ # babel-plugin-transform-react-jsx

* `pragma` - Replace the function used when compiling JSX expressions (Defaults to `React.createElement`).
- Note that the `@jsx React.DOM` pragma has been deprecated as of React v0.12
* `useBuiltIns` - When spreading props, use Object.assign instead of Babel's extend helper (Disabled by default).
### `pragma`
`string`, defaults to `React.createElement`.
Replace the function used when compiling JSX expressions.
Note that the `@jsx React.DOM` pragma has been deprecated as of React v0.12
### `useBuiltIns`
`boolean`, defaults to `false`.
When spreading props, use `Object.assign` directly instead of Babel's extend helper.
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