AlexGilleran / jsx-control-statements

Neater If and For for React JSX
https://www.npmjs.com/package/babel-plugin-jsx-control-statements
MIT License
1.62k stars 64 forks source link

Why do we need ```transform-react-inline-elements``` plugin ? #110

Open ProPhycient5 opened 2 years ago

ProPhycient5 commented 2 years ago

The features that you all provide can be done by step 1: Install via npm: npm install --save-dev babel-plugin-jsx-control-statements

step 2: specify JSX-Control-Statements as Babel plugin, which you would typically do in your .babelrc


  ...
  "plugins": ["jsx-control-statements"]
}```
then why do we add extra plugin i.e. ``` transform-react-inline-elements```???