Handle static properties properly with Higher Order Components
lessonDuration 3m 2sFree
One of the goals of reusable components is that the implementation details are unobservable. You want to make things work the way people think they should work without them having to consider the implementation. In this lesson we'll see a confusing observable behavior of using Higher Order Components and use the [`hoist-non-react-statics`](https://github.com/mridgway/hoist-non-react-statics) library to avoid the problem.