Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Tweaks
  • Loading branch information
gaearon committed Feb 4, 2019
commit e5a987bc60a80ca935f8e11f16b06f2a58215b64
3 changes: 1 addition & 2 deletions content/blog/2019-02-04-react-v16.8.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ Note that **to enable Hooks, all React packages need to be 16.8.0 or higher**. H

**React Native will support Hooks in the [0.60 release](https://github.com/react-native-community/react-native-releases/issues/79#issuecomment-457735214).**

The latest TypeScript and Flow definitions for React support Hooks. The Flow definitions will be updated to the final `useReducer` API in the next Flow release.

## Tooling Support

React Hooks are now supported by React DevTools. They are also supported in the latest Flow and TypeScript definitions for React. We strongly recommend enabling a new [lint rule called `eslint-plugin-react-hooks`](https://www.npmjs.com/package/eslint-plugin-react-hooks) to enforce best practices with Hooks. It will soon be included into Create React App by default.
Expand Down Expand Up @@ -84,6 +82,7 @@ Refer to the documentation for [detailed installation instructions](/docs/instal
### ESLint Plugin for React Hooks

>Note
>
>As mentioned above, we strongly recommend using the `eslint-plugin-react-hooks` lint rule.
>
>If you're using Create React App, instead of manually configuring ESLint you can wait for the next version of `react-scripts` which will come out shortly and will include this rule.
Expand Down