React Native added support for hooks in 0.59 (#2121)

* React Native added support for hooks in 0.59

React Native 0.59 and above already support React Hooks, this line is no longer necessary, causes confusion for some people that it is not working right now. We can also mention React Native version if needed.

* update with react native mention of hooks support

* Update content/docs/hooks-faq.md

suggested changes

Co-Authored-By: Alexey Pyltsyn <lex61rus@gmail.com>
This commit is contained in:
UmaR Aamer
2019-07-09 20:33:15 +05:00
committed by Alexey Pyltsyn
parent b57265b8f9
commit 06dd4cbe97

View File

@@ -70,7 +70,7 @@ Starting with 16.8.0, React includes a stable implementation of React Hooks for:
Note that **to enable Hooks, all React packages need to be 16.8.0 or higher**. Hooks won't work if you forget to update, for example, React DOM.
React Native will fully support Hooks in its next stable release.
React Native 0.59 and above support Hooks.
### Do I need to rewrite all my class components? {#do-i-need-to-rewrite-all-my-class-components}