Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mauricedb/ts-react
https://github.com/mauricedb/ts-react
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/mauricedb/ts-react
- Owner: mauricedb
- License: mit
- Created: 2019-02-03T15:13:50.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T18:09:32.000Z (about 2 months ago)
- Last Synced: 2024-09-17T22:26:46.374Z (about 2 months ago)
- Language: TypeScript
- Homepage: https://ts-react.mauricedb.vercel.app
- Size: 17.5 MB
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TypeScript React Snippets
[![Greenkeeper badge](https://badges.greenkeeper.io/mauricedb/ts-react.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/mauricedb/ts-react.svg?branch=master)](https://travis-ci.org/mauricedb/ts-react)
[![Mutation testing badge](https://img.shields.io/endpoint?style=flat&url=https%3A%2F%2Fbadge-api.stryker-mutator.io%2Fapi%2Fgithub.com%2Fmauricedb%2Fts-react%2Fmaster)](https://stryker-mutator.github.io)
![Cypress tests](https://github.com/mauricedb/ts-react/workflows/Cypress%20tests/badge.svg)## [Counter](src/Counter/Counter.tsx)
Uses `useState()` and `onClick` event handler to incement state.
## [Person](src/Person/Person.tsx)
Used `useReducer()` and `onChange` event to update a person object and display the result.