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

https://github.com/daggerok/preact-hooks-typescript-app

Preact hooks (useState, useReducer), TypeScript, Parcel
https://github.com/daggerok/preact-hooks-typescript-app

parcel parcel-bundler parcel-preact parcel-ts parcel-typescript parceljs preact preact-app preact-compat preact-hooks preact-ts preact-tsconfig preact-typescript ts tsconfig tsconfig-json tsconfig-preact typescript

Last synced: 3 months ago
JSON representation

Preact hooks (useState, useReducer), TypeScript, Parcel

Awesome Lists containing this project

README

        

# Preact Hooks / TypeScript / Parcel [![GitHub actions workflows](https://github.com/daggerok/preact-hooks-typescript-app/workflows/GitHub%20actions%20workflows/badge.svg)](https://github.com/daggerok/preact-hooks-typescript-app/actions?query=workflow%3A%22GitHub+actions+workflows%22)

## cons related to Preact + TypeScript

* problematic [input event handling](src/components/app/nav/AddItem.tsx#L27)
* problematic reducer connected global state with `useContext` and `state + dispatcher` context `Provider`

## other repos

* [GitHub: daggerok/react-hooks-typescript-app](https://github.com/daggerok/react-hooks-typescript-app)
* [GitHub: daggerok/parcel-examples](https://github.com/daggerok/parcel-examples)

## resources

* https://dominicstpierre.com/how-to-start-with-typescript-and-preact-a9ea3e0ba4dc