It's been some time (pre-hooks) since I've used redux. But there was no other (idiomatic) way of tapping into redux except for connect() prior to hooks. Now, for those that prefer a concise, easy-to-visually consume, top-to-bottom coding pattern, there is an alternative. And the hoc still lives for those that do like those separations. (I presume)
View all comments
Show parent comment
1
u/Awnry_Abe Sep 21 '20
It's been some time (pre-hooks) since I've used redux. But there was no other (idiomatic) way of tapping into redux except for connect() prior to hooks. Now, for those that prefer a concise, easy-to-visually consume, top-to-bottom coding pattern, there is an alternative. And the hoc still lives for those that do like those separations. (I presume)