Skip to content
Dev Tools Library

Preact

3 KB alternative to React, almost fully compatible.

LibraryOpen source

Tiny UI library with the same modern API as React and a compatibility layer to use libraries from the React ecosystem.

When to use

When bundle size matters a lot (widgets, light pages) and you want React's API.

When to avoid

If you depend on recent React features that the compatibility layer doesn't cover yet.

Alternatives

They do a similar job. Compare before choosing.

  • Component-based UI library.

    LibraryOpen source★ 251.8K

From the same area, with a close purpose.

  • Progressive UI framework, easy to adopt gradually.

    FrameworkOpen source★ 54.8K
  • Fine-grained reactive UI, with React-like syntax.

    LibraryOpen source★ 36.2K
  • UI compiler with no virtual DOM.

    FrameworkOpen source★ 88.5K
  • Interactivity through HTML attributes, with no JavaScript to write.

    LibraryOpen source★ 49.6K