babel-plugin-transform-react-jsx
Advanced tools
Comparing version 6.22.0 to 6.23.0
{ | ||
"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. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4730
111