preact-hook-htm

0.7.0-beta • Public • Published

preact-hook-htm

A triplicate of dependencies that I like to use together.

We use a beta version of preact because I am tired of waiting for preactX to be published. I also autobind htm to preact because I like doing that. Hopefully can not do this in the future.

Exports

Preact

export { render };

render() is from preact

Hooks

export { useState, useEffect, useRef, useReducer };

useState(), useRef(), useReducer and useEffect() are from preact/hooks

Htm

export { html };

html is Htm.bind(preact.createElement);

Readme

Keywords

none

Package Sidebar

Install

npm i preact-hook-htm

Weekly Downloads

13

Version

0.7.0-beta

License

MIT

Unpacked Size

40.5 kB

Total Files

21

Last publish

Collaborators

  • lukekaalim