All Projects → springload → react-redux-exercise

springload / react-redux-exercise

Licence: other
Exercise to understand better react-redux, how it works and how to use it.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to react-redux-exercise

Learn React App
Application that will help you learn React fundamentals. Install this application locally - there's tutorial, code snippets and exercises. The main objective of this project is to help you get off the ground with React!
Stars: ✭ 3,364 (+6908.33%)
Mutual labels:  exercise, learn
Javascript Exercises
📚 Collection of JavaScript exercises and coding challenges.
Stars: ✭ 385 (+702.08%)
Mutual labels:  exercise, learn
html-tutorial-exercises-course
Learn HTML with an interactive and auto-graded tutorial with dozens of exercises.
Stars: ✭ 23 (-52.08%)
Mutual labels:  learning-exercise, learn
use-react-redux-context
Alternative ReactRedux.connect by useContext for performance
Stars: ✭ 44 (-8.33%)
Mutual labels:  react-redux
crypto-markets
react-native-cryptocurrency-ticker
Stars: ✭ 27 (-43.75%)
Mutual labels:  react-redux
cerebro-web
Website for Cerebro
Stars: ✭ 21 (-56.25%)
Mutual labels:  react-redux
cpluspluscourse
C++ Course Taught at CERN, from Sebastien Ponce (LHCb)
Stars: ✭ 19 (-60.42%)
Mutual labels:  exercise
fx-trading-app
Forex Trading Application workshop
Stars: ✭ 23 (-52.08%)
Mutual labels:  exercise
cpp learning
2021王道数据结构考研复习指导、2019天勤数据结构、Essentail C++、剑指offer、leetcode
Stars: ✭ 57 (+18.75%)
Mutual labels:  learn
prolog puzzles
Prolog puzzles for fun and profit (mostly fun)
Stars: ✭ 39 (-18.75%)
Mutual labels:  exercise
react-douban
豆瓣电影-react版本
Stars: ✭ 45 (-6.25%)
Mutual labels:  react-redux
auth-with-saga-example
code for https://medium.com/@stepankuzmin/authentication-with-react-router-redux-5-x-and-redux-saga-55da66b54be7
Stars: ✭ 14 (-70.83%)
Mutual labels:  react-redux
emacs-workshop
Emacs Course Prep Material
Stars: ✭ 82 (+70.83%)
Mutual labels:  learn
vk-mini-app-boilerplate
Стартовый кит для создания сервиса на платформе VK Mini Apps с использованием React + Redux
Stars: ✭ 61 (+27.08%)
Mutual labels:  react-redux
SHOPMATE
front-end e-commerce system
Stars: ✭ 12 (-75%)
Mutual labels:  react-redux
Socialgram
Clone of Facebook with limited features
Stars: ✭ 15 (-68.75%)
Mutual labels:  react-redux
cra-redux-boilerplate
⚛️🔨create-react-app application with redux and another cool libraries to make your life easier.
Stars: ✭ 15 (-68.75%)
Mutual labels:  react-redux
here-we-go
Contains hundreds of samples for learning Go.
Stars: ✭ 93 (+93.75%)
Mutual labels:  learn
timeoff-server
TimeOff is an application that allows companies' employees to set vacations before they begin taking their time off. Implemented in modern tech stack i.e. Node, Express, MongoDB.
Stars: ✭ 33 (-31.25%)
Mutual labels:  react-redux
redux-saga-rn-alert
Alert.alert()-Support for side effects with redux-saga in react-native-apps
Stars: ✭ 23 (-52.08%)
Mutual labels:  react-redux

react-redux-exercise

Exercise to understand better React and Redux, how they work and how to use them.

If you like this repo and/or learnt something from it, please give us a star :) Thanks!

Get started

Prerequisites

This project uses nvm.

You need to have it installed on your machine.

Install

To clone the project on your machine, install the required dependencies and run the server, follow these commands:

$ git clone https://github.com/springload/react-redux-exercise.git

$ cd react-redux-exercise

# Install the correct version of Node/NPM with nvm
$ nvm install

# Then, install all project dependencies.
$ npm install

# Then run the server
$ npm run start

# Open your browser to http://localhost:3000

And if you want some eslint love (and you should):

npm run lint . (or specify the path to the file you want to check)

Debugging

I highly recommend that you install the Redux extension for Chrome

It looks like this:

alt Extension image

And it will help you a lot to debug and understand what's going with your code.

Redux

with images

alt Redux image

Source https://www.reddit.com/r/webdev/comments/4r1947/i_am_working_on_a_reactredux_video_tutorial/

alt Redux image

Source http://staltz.com/unidirectional-user-interface-architectures.html

alt Redux image

Source http://blog.tighten.co/react-101-using-redux

with words

Don't be afraid by these images if you find them complicated. Redux just needs to be tested and you will pick it up.

Basically, a Redux cycle works like this:

  • A user clicks on a button on the UI (for instance)
  • This button dispatches an action
  • This action will be managed by a reducer which is listening for one or many actions
  • This reducer will update the store state
  • The new store is then passed to the component which rerenders with the new value
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].