🆚 Preact vs. Riot

Type

JavaScript library
Frontend framework

About

Preact is a fast 3kB alternative to React with the same modern API.

It offers a virtual DOM, support for hooks and components, hydration for server-rendered content, and compatibility with many React-style tools through adapters.

Riot.js is a lightweight, component-based user interface library that uses custom tags to create reactive user interfaces, functioning as a minimalist alternative to larger frameworks like React or Vue.

It focuses primarily on the view layer and state management, allowing developers to build dynamic applications using a clear, tag-based HTML syntax.

Headquarters

Zurich, Switzerland

Website

Pricing

Free ✔️Open source
Free ✔️Open source

Categories

JavaScript Libraries › Rank #202
JavaScript Libraries › Rank #247
Frontend Frameworks › Rank #22

Popularity

Determined by the number of sites using each technology.

The Preact JavaScript library is 2.6 times more popular than Riot.
Total websites

Market share

JavaScript Libraries

Popularity by country

Determined by the number of sites detected from each country.

Preact is more popular in the United States, the United Kingdom, and Germany, while Riot is more popular in Japan, Sweden, and Russia.
United States
United Kingdom
Germany
Australia
Japan
Brazil
Netherlands
Canada
France
Israel

Awards

Popularity by domain category

Determined by the number of sites in each category.

Preact is more popular among sites focused on online shopping, fashion and beauty, and marketing and merchandising, while Riot is more commonly used on business, entertainment, and education and reference sites.
Online Shopping
Fashion/Beauty
Business
Marketing/Merchandising
Blogs/Wiki
Entertainment
Education/Reference
General News
Travel
Finance/Banking

Top sites

Top-ranked sites that use these technologies.

Name
Rank
#510
covers.com
#3,006
View more ➝
Name
Rank
#7,600
#11,663
#13,056
View more ➝

See also

🗃️ About This Data