Browse Source

Bump alpha

main
Dan Abramov 6 years ago
parent
commit
024b5b6173
  1. 2
      content/docs/hooks-custom.md
  2. 2
      content/docs/hooks-effect.md
  3. 2
      content/docs/hooks-faq.md
  4. 2
      content/docs/hooks-intro.md
  5. 2
      content/docs/hooks-overview.md
  6. 2
      content/docs/hooks-reference.md
  7. 2
      content/docs/hooks-rules.md
  8. 2
      content/docs/hooks-state.md

2
content/docs/hooks-custom.md

@ -6,7 +6,7 @@ next: hooks-reference.html
prev: hooks-rules.html
---
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.0.
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.1.
Building your own Hooks lets you extract component logic into reusable functions.

2
content/docs/hooks-effect.md

@ -6,7 +6,7 @@ next: hooks-rules.html
prev: hooks-intro.html
---
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.0.
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.1.
The *Effect Hook* lets you perform side effects in function components:

2
content/docs/hooks-faq.md

@ -5,7 +5,7 @@ permalink: docs/hooks-faq.html
prev: hooks-reference.html
---
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.0.
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.1.
This page answers some of the frequently asked questions about [Hooks](/docs/hooks-overview.html).

2
content/docs/hooks-intro.md

@ -5,7 +5,7 @@ permalink: docs/hooks-intro.html
next: hooks-overview.html
---
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.0.
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.1.
```js{4,5}
import { useState } from 'react';

2
content/docs/hooks-overview.md

@ -6,7 +6,7 @@ next: hooks-state.html
prev: hooks-intro.html
---
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.0.
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.1.
Hooks are [backwards-compatible](/docs/hooks-intro.html#no-breaking-changes). This page provides an overview of Hooks for experienced React users. This is a fast-paced overview. If you get confused, look for a yellow box like this:

2
content/docs/hooks-reference.md

@ -6,7 +6,7 @@ prev: hooks-custom.html
next: hooks-faq.html
---
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.0.
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.1.
This page describes the APIs for the built-in Hooks in React.

2
content/docs/hooks-rules.md

@ -6,7 +6,7 @@ next: hooks-custom.html
prev: hooks-effect.html
---
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.0.
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.1.
Hooks are JavaScript functions, but you need to follow two rules when using them. We provide a [linter plugin](https://www.npmjs.com/package/eslint-plugin-react-hooks) to enforce these rules automatically:

2
content/docs/hooks-state.md

@ -6,7 +6,7 @@ next: hooks-effect.html
prev: hooks-overview.html
---
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.0.
*Hooks* are an upcoming feature that lets you use state and other React features without writing a class. They're currently in React v16.8.0-alpha.1.
The [previous page](/docs/hooks-intro.html) introduced Hooks with this example:

Loading…
Cancel
Save