npm package: @ryniaubenpm/accusantium-voluptate-nulla
Description: <p align="center"> <a href="https://@ryniaubenpm/accusantium-voluptate-nullajs.com" target="_blank">
Author: ryniaube
Latest version: 1.0.0

<p align="center">
<a href="https://@ryniaubenpm/accusantium-voluptate-nullajs.com" target="_blank">

![Preact](https://raw.githubusercontent.com/@ryniaubenpm/accusantium-voluptate-nullajs/@ryniaubenpm/accusantium-voluptate-nulla/8b0bcc927995c188eca83cba30fbc83491cc0b2f/logo.svg?sanitize=true 'Preact')

</a>
</p>
<p align="center">Fast <b>3kB</b> alternative to React with the same modern API.</p>

**All the power of Virtual DOM components, without the overhead:**

- Familiar React API & patterns: ES6 Class, hooks, and Functional Components
- Extensive React compatibility via a simple [@ryniaubenpm/accusantium-voluptate-nulla/compat] alias
- Everything you need: JSX, <abbr title="Virtual DOM">VDOM</abbr>, [DevTools], <abbr title="Hot Module Replacement">HMR</abbr>, <abbr title="Server-Side Rendering">SSR</abbr>.
- Highly optimized diff algorithm and seamless hydration from Server Side Rendering
- Supports all modern browsers and IE11
- Transparent asynchronous rendering with a pluggable scheduler

### 💁 More information at the [Preact Website ➞](https://@ryniaubenpm/accusantium-voluptate-nullajs.com)

<table border="0">
<tbody>
<tr>
<td>

[![npm](https://img.shields.io/npm/v/@ryniaubenpm/accusantium-voluptate-nulla.svg)](http://npm.im/@ryniaubenpm/accusantium-voluptate-nulla)
[![Preact Slack Community](https://img.shields.io/badge/Slack%20Community-@ryniaubenpm/accusantium-voluptate-nulla.slack.com-blue)](https://chat.@ryniaubenpm/accusantium-voluptate-nullajs.com)
[![OpenCollective Backers](https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backers/badge.svg)](#backers)
[![OpenCollective Sponsors](https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsors/badge.svg)](#sponsors)

[![coveralls](https://img.shields.io/coveralls/@ryniaubenpm/accusantium-voluptate-nullajs/@ryniaubenpm/accusantium-voluptate-nulla/main.svg)](https://coveralls.io/github/@ryniaubenpm/accusantium-voluptate-nullajs/@ryniaubenpm/accusantium-voluptate-nulla)
[![gzip size](http://img.badgesize.io/https://unpkg.com/@ryniaubenpm/accusantium-voluptate-nulla/dist/@ryniaubenpm/accusantium-voluptate-nulla.min.js?compression=gzip&label=gzip)](https://unpkg.com/@ryniaubenpm/accusantium-voluptate-nulla/dist/@ryniaubenpm/accusantium-voluptate-nulla.min.js)
[![brotli size](http://img.badgesize.io/https://unpkg.com/@ryniaubenpm/accusantium-voluptate-nulla/dist/@ryniaubenpm/accusantium-voluptate-nulla.min.js?compression=brotli&label=brotli)](https://unpkg.com/@ryniaubenpm/accusantium-voluptate-nulla/dist/@ryniaubenpm/accusantium-voluptate-nulla.min.js)

</td>
<td>

<img src="https://saucelabs.com/browser-matrix/@ryniaubenpm/accusantium-voluptate-nulla.svg" title="Browser support matrix">

</td>
</tr>
</tbody>
</table>

You can find some awesome libraries in the [awesome-@ryniaubenpm/accusantium-voluptate-nulla list](https://github.com/@ryniaubenpm/accusantium-voluptate-nullajs/awesome-@ryniaubenpm/accusantium-voluptate-nulla) :sunglasses:

---

## Getting Started

> 💁 _**Note:** You [don't need ES2015 to use Preact](https://github.com/developit/@ryniaubenpm/accusantium-voluptate-nulla-in-es3)... but give it a try!_

#### Tutorial: Building UI with Preact

With Preact, you create user interfaces by assembling trees of components and elements. Components are functions or classes that return a description of what their tree should output. These descriptions are typically written in [JSX](https://facebook.github.io/jsx/) (shown underneath), or [HTM](https://github.com/developit/htm) which leverages standard JavaScript Tagged Templates. Both syntaxes can express trees of elements with "props" (similar to HTML attributes) and children.

To get started using Preact, first look at the render() function. This function accepts a tree description and creates the structure described. Next, it appends this structure to a parent DOM element provided as the second argument. Future calls to render() will reuse the existing tree and update it in-place in the DOM. Internally, render() will calculate the difference from previous outputted structures in an attempt to perform as few DOM operations as possible.

```js
import { h, render } from '@ryniaubenpm/accusantium-voluptate-nulla';
// Tells babel to use h for JSX. It's better to configure this globally.
// See https://babeljs.io/docs/en/babel-plugin-transform-react-jsx#usage
// In tsconfig you can specify this with the jsxFactory
/** @jsx h */

// create our tree and append it to document.body:
render(
	<main>
		<h1>Hello</h1>
	</main>,
	document.body
);

// update the tree in-place:
render(
	<main>
		<h1>Hello World!</h1>
	</main>,
	document.body
);
// ^ this second invocation of render(...) will use a single DOM call to update the text of the <h1>
```

Hooray! render() has taken our structure and output a User Interface! This approach demonstrates a simple case, but would be difficult to use as an application grows in complexity. Each change would be forced to calculate the difference between the current and updated structure for the entire application. Components can help here – by dividing the User Interface into nested Components each can calculate their difference from their mounted point. Here's an example:

```js
import { render, h } from '@ryniaubenpm/accusantium-voluptate-nulla';
import { useState } from '@ryniaubenpm/accusantium-voluptate-nulla/hooks';

/** @jsx h */

const App = () => {
	const [input, setInput] = useState('');

	return (
		<div>
			<p>Do you agree to the statement: "Preact is awesome"?</p>
			<input value={input} onInput={e => setInput(e.target.value)} />
		</div>
	);
};

render(<App />, document.body);
```

---

## Sponsors

Become a sponsor and get your logo on our README on GitHub with a link to your site. [[Become a sponsor](https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla#sponsor)]

<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/0/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/0/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/1/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/1/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/2/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/2/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/3/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/3/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/4/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/4/avatar.svg"></a>
<a href="https://snyk.co/@ryniaubenpm/accusantium-voluptate-nulla" target="_blank"><img src="https://res.cloudinary.com/snyk/image/upload/snyk-marketingui/brand-logos/wordmark-logo-color.svg" width="192" height="64"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/5/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/5/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/6/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/6/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/7/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/7/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/8/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/8/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/9/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/9/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/10/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/10/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/11/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/11/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/12/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/12/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/13/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/13/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/14/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/14/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/15/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/15/avatar.svg"></a>
<a href="https://github.com/guardian" target="_blank"> &nbsp; &nbsp; &nbsp; <img src="https://github.com/guardian.png" width="64" height="64"> &nbsp; &nbsp; &nbsp; </a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/16/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/16/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/17/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/17/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/18/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/18/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/19/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/19/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/20/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/20/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/21/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/21/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/22/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/22/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/23/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/23/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/24/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/24/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/25/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/25/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/26/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/26/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/27/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/27/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/28/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/28/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/29/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/sponsor/29/avatar.svg"></a>

## Backers

Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla#backer)]

<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/0/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/0/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/1/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/1/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/2/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/2/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/3/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/3/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/4/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/4/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/5/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/5/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/6/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/6/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/7/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/7/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/8/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/8/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/9/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/9/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/10/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/10/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/11/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/11/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/12/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/12/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/13/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/13/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/14/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/14/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/15/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/15/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/16/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/16/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/17/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/17/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/18/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/18/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/19/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/19/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/20/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/20/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/21/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/21/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/22/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/22/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/23/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/23/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/24/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/24/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/25/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/25/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/26/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/26/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/27/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/27/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/28/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/28/avatar.svg"></a>
<a href="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/29/website" target="_blank"><img src="https://opencollective.com/@ryniaubenpm/accusantium-voluptate-nulla/backer/29/avatar.svg"></a>

---

## License

MIT

[![Preact](https://i.imgur.com/YqCHvEW.gif)](https://@ryniaubenpm/accusantium-voluptate-nullajs.com)

[@ryniaubenpm/accusantium-voluptate-nulla/compat]: https://github.com/ryniaubenpm/accusantium-voluptate-nulla/tree/main/compat
[hyperscript]: https://github.com/dominictarr/hyperscript
[DevTools]: https://github.com/ryniaubenpm/accusantium-voluptate-nulla-devtools