From 92d96a3ca430bf08182092ff9fdf1a97702b2cf5 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 9 Jan 2019 21:03:48 +0000 Subject: [PATCH] Bump documented Hooks version --- content/docs/hooks-custom.md | 2 +- content/docs/hooks-effect.md | 2 +- content/docs/hooks-faq.md | 2 +- content/docs/hooks-intro.md | 2 +- content/docs/hooks-overview.md | 2 +- content/docs/hooks-reference.md | 2 +- content/docs/hooks-rules.md | 2 +- content/docs/hooks-state.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/content/docs/hooks-custom.md b/content/docs/hooks-custom.md index 4da45d5e..d08bfc63 100644 --- a/content/docs/hooks-custom.md +++ b/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.7.0-alpha. +*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. Building your own Hooks lets you extract component logic into reusable functions. diff --git a/content/docs/hooks-effect.md b/content/docs/hooks-effect.md index 2c40a128..358ee643 100644 --- a/content/docs/hooks-effect.md +++ b/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.7.0-alpha. +*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. The *Effect Hook* lets you perform side effects in function components: diff --git a/content/docs/hooks-faq.md b/content/docs/hooks-faq.md index 903dc50b..2202fe4d 100644 --- a/content/docs/hooks-faq.md +++ b/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.7.0-alpha. +*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. This page answers some of the frequently asked questions about [Hooks](/docs/hooks-overview.html). diff --git a/content/docs/hooks-intro.md b/content/docs/hooks-intro.md index 4abf7972..03956e8d 100644 --- a/content/docs/hooks-intro.md +++ b/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.7.0-alpha. +*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. ```js{4,5} import { useState } from 'react'; diff --git a/content/docs/hooks-overview.md b/content/docs/hooks-overview.md index f83da65e..d8dc6008 100644 --- a/content/docs/hooks-overview.md +++ b/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.7.0-alpha. +*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 [backwards-compatible](/docs/hooks-intro.html#no-breaking-changes). This page provides an overview of Hooks for experienced React users. diff --git a/content/docs/hooks-reference.md b/content/docs/hooks-reference.md index a8e75a09..af9e5e44 100644 --- a/content/docs/hooks-reference.md +++ b/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.7.0-alpha. +*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. This page describes the APIs for the built-in Hooks in React. diff --git a/content/docs/hooks-rules.md b/content/docs/hooks-rules.md index b393e4d8..426d5a84 100644 --- a/content/docs/hooks-rules.md +++ b/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.7.0-alpha. +*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 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: diff --git a/content/docs/hooks-state.md b/content/docs/hooks-state.md index da0caeb4..7dbe15ab 100644 --- a/content/docs/hooks-state.md +++ b/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.7.0-alpha. +*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. The [previous page](/docs/hooks-intro.html) introduced Hooks with this example: