With CLI There are two ways to use a React library in Magento 2.
1) Using CLI The CLI (Command Line Interface) is the way you’ll do most of your React work with Magento. This is the preferred method of learning and learning Magento. Magento 2 CLI is still under development and needs some serious bug fixing. It’s easy to build your first application using the CLI, but you’ll want to be aware of these common pitfalls: The CLI is not extremely reliable. Some basic CLI commands don’t work as expected. A CLI application can be difficult to debug. To learn more about the CLI, check out this learning guide.Continue reading “How To Use React Library In Magento 2”