Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 917 Bytes

term.md

File metadata and controls

21 lines (11 loc) · 917 Bytes

Title: Preact


Description: A fast and smaller alternative to React with the same ES2015+ APIs, intending to be compatible with most React libraries.


Authors: rasshofer


Text:

Preact’s size and speed generally make it best suited for lightweight mobile web apps or web widgets and embeds where (term: React) might be too heavy for. Because of its minimalist nature, Preact is generally considered for smaller projects where performance is the primary concern.

To keep Preact as small and easy as it is, it focusses on the core values of React and misses things like (term: PropTypes) support or React’s synthetic events.

However, Preact provides a dedicated compatibility layer that can be used to leverage the many libraries of the React ecosystem and use them with Preact.

Preact can be used directly in the browser without any (term: Transpiling text: transpilation) step in-between.