Skip to content

Commit

Permalink
Changelog: 🚀
Browse files Browse the repository at this point in the history
## New features

### Support React Hooks in examples

You can now use hooks in the examples, like the `useState` hook:

 ```jsx
const [count, setCount] = React.useState(42);
<Button onClick={() => setCount(count + 1)}>{count}</Button>
```

(#1353 by @eragon512)

## Bug fixes

* Accessibility fixes ([#1359](#1359) by @J-Kallunki)
* `getExampleFilename` should use default example if file does not exist ([#1362](#1362)) by @mendrew, closes [#1338](#1338)
* Hide HTML comments in Markdown files ([#1347](#1347) by @eragon512, closes #1326)
  • Loading branch information
Artem Sapegin committed May 16, 2019
1 parent 56dcca5 commit 010761b
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 010761b

Please sign in to comment.