Browse Source

Mention type defs

main
Dan Abramov 6 years ago
parent
commit
ee5fea9f36
  1. 2
      content/blog/2019-02-04-react-v16.8.0.md

2
content/blog/2019-02-04-react-v16.8.0.md

@ -36,6 +36,8 @@ Note that **to enable Hooks, all React packages need to be 16.8.0 or higher**. H
**React Native will fully support Hooks in its next stable release.** **React Native will fully support Hooks in its next stable release.**
The final TypeScript and Flow definitions are currently in review and will be available soon.
## Tooling Support ## Tooling Support
React Hooks are now fully 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. React Hooks are now fully 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.

Loading…
Cancel
Save