Stencil is a developer-focused toolchain for building reusable, scalable component libraries and design systems. It provides a compiler that generates highly optimized Web Components, and combines the best concepts of the most popular frameworks into a simple build-time tool.
React (also known as ReactJS) is developed by Facebook to create user interfaces for the web. React was invented by Jordan Walke, who was working at Facebook Ads at the time. It’s used for handling the view layer for web and mobile apps. React also allows us to create reusable UI components.