Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcveens/react-redux-hooks
Sample project for working with React, Redux and Hooks
https://github.com/marcveens/react-redux-hooks
Last synced: 2 months ago
JSON representation
Sample project for working with React, Redux and Hooks
- Host: GitHub
- URL: https://github.com/marcveens/react-redux-hooks
- Owner: marcveens
- Created: 2019-05-07T11:17:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-03T21:41:17.000Z (about 2 years ago)
- Last Synced: 2023-03-08T16:49:01.630Z (almost 2 years ago)
- Language: TypeScript
- Homepage:
- Size: 3.54 MB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React + Redux + Hooks tryout
[![Build Status](https://travis-ci.com/marcveens/react-redux-hooks.svg?branch=master)](https://travis-ci.com/marcveens/react-redux-hooks)
[![Edit react-redux-hooks](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/marcveens/react-redux-hooks/tree/master/?fontsize=11)There are a couple of changes made to the way of working:
- No use of classes anymore, only functional components;
- Now using custom hooks instead of higher order components;
- Created some base templates for actions and reducers, makes it easier to create simple fetch components.
- Using [styled-components](https://www.styled-components.com) instead of SCSS/CSSInspiration:
- https://github.com/facebookincubator/redux-react-hook
- https://redux.js.org/recipes/usage-with-typescript#type-checking-state
- https://reactjs.org/docs/hooks-custom.html
- https://itnext.io/how-to-create-react-custom-hooks-for-data-fetching-with-useeffect-74c5dc47000a