A different kind of library: React or Preact?
props, state and context are passed to render
uses standard HTML attributes like class and for
works with React DevTools right out of the box
Ecosystem Compatible Virtual DOM Components make it easy to share reusable things – everything from buttons to data providers. Preact’s design means you can seamlessly use thousands of Components available in the React ecosystem. Adding a simple preact-compat alias to your bundler provides a compatibility layer that enables even the most complex React components to be used in your application.
Using Preact Instead of React?
If you are concerned about React’s size and performance (especially for mobile-web apps), there are several React clone libraries that have exact same APIs as React but with tiny size and claim to perform better than React. Preact is one such library.