implement input reducer
Closed this issue · 0 comments
nadeemkhedr commented
Development
- add input reducer that handles
INPUT_UPDATE
and the store should look like this
store = {
...
input: { text: '' }
}
- add redux thunk and create a thunk action
textUpdate
that will dispatch anINPUT_UPDATE
and also if it founds any matching words, remove them and remove associated empty blocks