|
|
|
|
|
by savanaly
3179 days ago
|
|
Thanks for the well thought out response. Your second point about class definitions and ease of testing is making me reconsider my using decorators for HOC's. To your first point, I would say the HOC's as decorators would be very easy to code mod as well. Just go to ever file with decorators on my components and rewrite it to use _.fp.pipe() or apply them longhand or whatever. It probably couldn't comfortably be done in an automated fashion but it would be straightforward and not require a lot of thought. And to the third point I have never had those not work right when using connect. I would be interested in an example even if it's just a stack overflow question where it came up. |
|
I've definitely seen this pop up as a recurring question that's confused people.