Merge pull request #183 from nnnoel/patch-1

Update higher-order-components.md
This commit is contained in:
Brian Vaughn
2017-10-19 17:07:59 -07:00
committed by GitHub

View File

@@ -420,4 +420,4 @@ const EnhancedField = enhance(Field);
this.inputEl.focus();
```
This is not a perfect solution by any means. We prefer that refs remain a library concern, rather than require you to manually handle them. We are exploring ways to solve this problem so that using an HOC is unobservable.
This is not a perfect solution by any means. We prefer that refs remain a library concern, rather than require you to manually handle them. We are exploring ways to solve this problem so that using a HOC is unobservable.