News for hackers. Stuff that matters.
Re:React: Mixins Considered Harmful by coderzach on Wednesday July 13, 2016 @03:09PM (#12088792)
Why not just mock the HOC to be the identity fn? `(Component) => Component`
Re:React: Mixins Considered Harmful by eiriklv on Wednesday July 13, 2016 @03:36PM (#12089013)
This is my preferred approach as well - and it (anecdotally) works great, since you can then just manually inject any props/spies as needed like any other "dumb" component.

Edit: But he might be pointing to the testing of the actual HOCs/component decorating functions.