scrimba
React Bootcamp Course
Plain JS Redux Practice 1
Go Pro!Bootcamp

Bootcamp

Study group

Collaborate with peers in your dedicated #study-group channel.

Code reviews

Submit projects for review using the /review command in your #code-reviews channel

Plain JS Redux Practice 1
AboutCommentsNotes
Plain JS Redux Practice 1
Expand for more info
index.js
run
preview
console
import store from "./redux"
import {changeCount} from "./redux/count"

/**
* Challenge:
*
* 1. Bring in all the action creators we've made so far and dispatch them, just to make sure things are working
*/

store.dispatch(changeCount(42))
Console
{count:
42
, favoriteThings:
[]
, youTubeVideo:
{title:
""
, viewCount:
0
, votes:
{up:
0
, down:
0
}
}
}
,
/index.html
-3:52