Babel preset that transforms JSX into
This preset is bundled within
compose.js framework, so if you have it already installed, you can just skip to Usage section.
npm install babel-preset-compose --save-dev
yarn add babel-preset-compose --dev
It depends on how you configure Babel, however the most popular way is to use
.babelrc file. Update your config file by adding