Skip to content

Commit

Permalink
Removed EXPERIMENTAL disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
antmdvs committed Feb 7, 2019
1 parent 67dae2f commit f1b635a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# React Hooks Snippets for Visual Studio Code

> The React Hooks API is currently _experimental_. See https://reactjs.org/hooks for more information.
> The React Hooks API is available beginning with React version 16.8. See https://reactjs.org/hooks for more information.
## Features

This extension contributes a handy snippet for the [useState hook](https://reactjs.org/docs/hooks-reference.html#usestate).
This extension includes a handy snippet for the [useState hook](https://reactjs.org/docs/hooks-reference.html#usestate).

![useState](images/useState.gif)

The second placeholder value is automatically capitalized on <kbd>Tab</kbd>.
\*The second placeholder value is automatically capitalized on <kbd>Tab</kbd>.

There are also a few variations for common initial state values:

Expand All @@ -21,14 +21,11 @@ There are also a few variations for common initial state values:

## Requirements

Visual Studio Code 1.25.1 or higher.
- Visual Studio Code 1.25.1 or higher.
- React 16.8.0 or higher.

## "What about the other hooks?"

TBD. After all, Hooks are not officially released yet.

## "But I prefer `let` over `const`."

It's easy enough to [create your own snippet](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_creating-your-own-snippets) in VS Code! You can use [this gist](https://gist.github.com/antmdvs/63903d7f98f8d82d0c6463abebb77cd7) as a starting point.
I'll be carefully evaluating the usefulness of snippets for the remaining hooks. Please use GitHub to file/upvote requests for other hooks.

---

0 comments on commit f1b635a

Please sign in to comment.