Closer to the DOMPreact provides the thinnest possible Virtual DOM abstraction on top of the DOM. It builds on stable platform features, registers real event handlers and plays nicely with other libraries. Preact can be used directly in the browser without any transpilation steps. Small SizeMost UI frameworks are large enough to be the majority of an app's JavaScript size. Preact is different: it'