Git Product home page Git Product logo

create-store-lab's Introduction

Create Store Lab

Objectives

Use the Redux createStore() method to develop a React & Redux app.

Overview

Ok, we will be building a simple React & Redux application to add new users. Just like we saw in the createStore code along, our application will not re-render with updates to the state. However, as some passing tests will show you, that does not mean that updates to the state are not occurring. Open up the Redux Devtools to see the changes occur, which we have already hooked up for you.

Instructions

Run npm install to install the npm modules for this application. To install redux, run npm install redux react-redux --save. This gives you access to the createStore method. You can see that we have already applied the method, but with an empty function. Instead, write a reducer in the reducers/manageUsers.js file. Follow the tests to build out the proper reducer.

create-store-lab's People

Contributors

jeffkatzy avatar lukeghenco avatar

Watchers

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

Forkers

enoch2k2

create-store-lab's Issues

Curriculum

It is odd to me that you did not use { connect } in this lab since we have been using it for the last several. This made the 'updates store' test not work properly for me. You should either change the tests to include { connect} or give a tip in the readme that {connect} is not used.

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.