Not every app is greenfield, and it would be a shame if existing React apps could not benefit from the micro-size of Preact. In this lesson we’ll discuss what preact-compat is, how to use it, and some examples of the file-size savings available. https://github.com/developit/preact-compat
For anyone reading — the current version (Preact X) — does not need compat anymore since it is already bundled in.
https://preactjs.com/guide/v10/upgrade-guide