Create a greeter app that utilizes redux for state management.
The app should look something like:
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 input
s, onClick
for button
):
- Update Salutation
- Update Name
- Reset (clear) the Salutation and Name (from state)
- Action Creators
- Reducer(s)
- provider/store setup in index 2pt
- reducer 2pt
- actions 2pt
- constants 2pts
- containers 2pt