Usage with Preact

Like Inferno, Preact is a modern React-like UI library which ships an almost identical API, but claims to be much faster and lightweight. Due to the fact that it is really similar to React's API, the Preact bindings for Fela(new tab) are basically the same as the React bindings for Fela(new tab).

yarn add preact-fela

Instead of providing duplicate documentation, we therefore want you to check out the Usage with React instead. Just "replace" React with Preact and you should be fine. There are only some differences which we are listing below.

Note: Similar to the usage guide, the API reference for react-fela works identical with preact-fela.