Baby Redux

Create a greeter app that utilizes redux for state management.

The app should look something like:

app

With the greeting display made up of html like:

<div>
  <span>{salutation}</span>
  <span>{name}</span>!
</div>

And an editor component with two input controls and a "Reset" button that dispatch the following respective actions (onChange for inputs, onClick for button):

  1. Update Salutation
  2. Update Name
  3. Reset (clear) the Salutation and Name (from state)

Testing

  • Action Creators
  • Reducer(s)

Rubric 10pts

  • provider/store setup in index 2pt
  • reducer 2pt
  • actions 2pt
  • constants 2pts
  • containers 2pt