An open API service indexing awesome lists of open source software.

https://github.com/aziis98/preact-timer

A localStorage-timer made with Preact with developit/htm
https://github.com/aziis98/preact-timer

css htm html js preact timer

Last synced: 2 months ago
JSON representation

A localStorage-timer made with Preact with developit/htm

Awesome Lists containing this project

README

          

# Preact Timer App

A simple app made to test Preact without a build step. Everything is saved to `localStorage`.

![screenshot](screenshot-1.png)

This is also aviable at (yep also testing Vercel)

## Description

This uses with by the import

```js
import { html, Component, render } from 'https://unpkg.com/htm/preact/standalone.module.js'
```

All code is in [dist/main.js](dist/main.js) and the styles are in [dist/style.css](dist/style.css).

## Usage

```bash
# Installs live-server (only dependency)
npm install

# Starts a hot reload server in the dist folder
npm run serve
```