Giter VIP home page Giter VIP logo

tcg_redux_docs's Introduction

Redux Documentation

Learning Goals

  • Build familiarity with Redux's API
  • Use Redux advanced features to solve common patterns in state management

Introduction

Pre-check

Before reading the Introduction, try to write down your answers to the following questions. As you read, see whether your answers match up to the documentation.

  • Why do people use Redux? What problems does it solve?
  • List the core concepts of redux. What role do each of them play?
  • What are the principles of developing using Redux?

Reading

Read the Motivation, Core Concepts, and Three Principles sections from the Introduction. Together, they should take about 10 minutes.

Post-check

After reading the introduction sections, answer the following questions.

  • What surprised you as you were reading the docs? What was new to you?
  • Revisit your pre-check answers. What changes you would make now that you have read the Introduction?

Basic Tutorial

Follow the steps in the Basic Tutorial to reproduce a TodoList app. This tutorial will take about 20 minutes to complete.

Advanced Tutorial

Follow the steps in the Advanced Tutorial to build an app with async actions and middleware. This tutorial will take about 30 minutes. Be sure to get the code to run at each intermediate step. Get the Reddit API example running. Read through the working code, and see if you can explain each line. If there's a line that you don't understand, treat that like a bug. Use the tutorial, google, or work with a colleague to help make sure you have an understanding of what each line of code is doing.

Recipes

There are a lot of links out to further reading about Redux. The Recipes are interesting to browse, because they present solutions to scenarios that developers frequently face.

From the Recipes, you should read Configuring Your Store, Using the Object Spread Operator, Reducing Boilerplate, Writing Tests, Computing Derived Data, Implementing Undo History, and the 12 pages on Structuring Reducers. Read each of the recipes and run all of the code snippets in each one.

Reading and running the examples from all 18 Recipes pages will take about an hour.

FAQ

The Redux FAQ answers a ton of commonly asked questions about redux.

Read the 50 or so questions in the index. Before clicking through to the responses in the documentation, write down your best answer to all of the questions. Next, read the answers provided by the documentation. How well did your answers match up? Which areas are still confusing to you?

Answering the FAQ questions yourself, then reading and checking your answers against those in the documentation will take about an hour.

tcg_redux_docs's People

Contributors

maxwellbenton avatar rrcobb avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.