James, could you please explain why Stamp might be more compatible for React than HOCs?
Restuta
1

I wasn’t looking for a debate. I’m just trying to understand things. Let’s say I have a component called UserForm. This component needs the following services: Validation, Logging, Redux State Management. I could wrap it 3 times in HOCs, or I could just add those services to the class. Either way the services are reusable, but the latter approach just seems cleaner. I guess it’s a matter of opinion. However, if HOCs are the standard for React, I would not go against the flow.