{"library":"preact","type":"library","category":null,"description":"Preact is a lightweight, 3KB JavaScript library offering a React-compatible API for building user interfaces with a Virtual DOM. Currently in its stable v10.29.1 series, it maintains a rapid release cadence with frequent patch and minor updates, alongside public betas for upcoming major versions like 11.0.0-beta.1. Key differentiators include its extremely small footprint, which is beneficial for performance and bundle size, while largely replicating the modern React API including hooks, functional components, and class components. It offers extensive compatibility with the React ecosystem through its `preact/compat` alias, enabling many existing React libraries to function with minimal configuration. Preact features an optimized diffing algorithm, supports Server-Side Rendering (SSR), and includes developer tools and Hot Module Replacement (HMR) capabilities. It targets all modern browsers and maintains compatibility with IE11, providing a robust yet minimal alternative for web development.","language":"javascript","status":"active","version":"10.29.1","tags":["javascript","preact","react","ui","user interface","virtual dom","vdom","components","dom diff","typescript"],"install":[{"cmd":"npm install preact","imports":["import { h, render } from 'preact';","import { Component } from 'preact';","import { useState, useEffect } from 'preact';","import { Fragment } from 'preact';"]},{"cmd":"yarn add preact","imports":[]},{"cmd":"pnpm add preact","imports":[]}],"homepage":"https://preactjs.com","github":"https://github.com/preactjs/preact","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/preact","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/preact/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}