Amy Blankenship
1 min readJun 7, 2019

--

I’m a bit late to the party, but it seems to me that as soon as you’re connecting at lower levels, you lose your ability to be data-store agnostic — any component that’s consuming a component that knows about Redux is going to bring in Redux when it’s imported. So if you’re thinking that at some point you might want to switch to RxJs, for example, or if you are creating a default wrapper for something that might also be consumed by code that doesn’t use Redux, you could wind up painting yourself into a corner by connecting anywhere but at the top.

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

Responses (1)