T
T
The Dragger2018-05-15 19:32:15
React
The Dragger, 2018-05-15 19:32:15

Is it ok to connect to redux from a "Stupid" component?

There is a stupid component that is deep in the tree. He needs to pass data from store , but to do this, you need all the 4th kind. components to pass props from store.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Gamega, 2018-05-15
@IPD2

YES
There is nothing more stupid and merciless than a bunch of props for a couple of hundred lines
, maybe not quite academic, but connect will not make your component much smarter, just don't put logic there, that's enough

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question