How to perfectly handle user-interactions with redux-saga

Dmitriy Kharchenko
ITNEXT
Published in
4 min readSep 23, 2019

--

Photo by Ryoji Iwata on Unsplash

Usually, things like redux-thunk or redux middlewares are used to handle side-effects triggered by redux actions, which can be triggered by button clicks for example. But what if you need to handle a user interaction like mouse or scroll events? Would you create a component that pipes all the events into the redux store loop?

--

--