From e06ec920f7a5d784e674c4c4b4e6d1da3dc7391d Mon Sep 17 00:00:00 2001 From: Piotr Russ Date: Mon, 16 Nov 2020 00:10:28 +0100 Subject: api, login, auth --- .../README.md | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 node_modules/babel-plugin-transform-react-jsx-self/README.md (limited to 'node_modules/babel-plugin-transform-react-jsx-self/README.md') diff --git a/node_modules/babel-plugin-transform-react-jsx-self/README.md b/node_modules/babel-plugin-transform-react-jsx-self/README.md new file mode 100644 index 0000000..69395fe --- /dev/null +++ b/node_modules/babel-plugin-transform-react-jsx-self/README.md @@ -0,0 +1,49 @@ +# babel-plugin-transform-react-jsx-self + +> Adds `__self` prop to JSX elements, which React will use to generate some runtime warnings. All React users should enable this transform in dev mode. + +## Example + +**In** + +``` + +``` + +**Out** + +``` + +``` + +## Installation + +```sh +npm install --save-dev babel-plugin-transform-react-jsx-self +``` + +## Usage + +### Via `.babelrc` (Recommended) + +**.babelrc** + +```json +{ + "plugins": ["transform-react-jsx-self"] +} +``` + +### Via CLI + +```sh +babel --plugins transform-react-jsx-self script.js +``` + +### Via Node API + +```javascript +require("babel-core").transform("code", { + plugins: ["transform-react-jsx-self"] +}); +``` -- cgit v1.2.3