Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasiniwijerathna/react-hooks
React "Hooks" at a Glance
https://github.com/hasiniwijerathna/react-hooks
Last synced: 5 days ago
JSON representation
React "Hooks" at a Glance
- Host: GitHub
- URL: https://github.com/hasiniwijerathna/react-hooks
- Owner: HasiniWijerathna
- Created: 2019-02-05T06:27:15.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-27T07:39:35.000Z (over 3 years ago)
- Last Synced: 2023-03-21T10:58:16.135Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 29 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React-Hooks
React "Hooks" at a Glance :neckbeard:Implementation of the new react feature "Hooks".
Available react version - React v16.8.0-alpha.1.## Things need to know,
- Only call Hooks at the top level
- Only call Hooks from React function componentRead more [Hooks](https://reactjs.org/docs/hooks-overview.html#-state-hook) on React docs :clap:
## Requirements
For development, you will only need Node.js installed on your environement.## Node
Node is really easy to install & now include NPM. You should be able to run the following command after the installation procedure below.## Install
```sh
$ git clone https://github.com/HasiniWijerathna/React-Hooks.git
$ cd Hooks
$ npm install
```## Start & watch
```sh
$ npm start
```## Simple build for production
```sh
$ npm run build
```