DEV Community

Discussion on: Why React projects still use Redux

Collapse
alexandrudanpop profile image
Alexandru-Dan Pop Author

Nicely said. With Redux we can have independent tests for 3 parts:

  • the components
  • the reducer
  • the sagas
Collapse
wicked7000 profile image
Wicked

Yeah my structure is usually that of:

  • Basic action creator functions (non-thunk)
  • Thunks
  • Reducer
  • Component

I haven't actually got around to trying react-saga and am just using react thunk. But I should get around to trying that out too