Skip to content

Commit

Permalink
Docs: Fix "React.useState is not a function" error in the basic examp…
Browse files Browse the repository at this point in the history
…le (#1418)

Fixes #1410.
  • Loading branch information
tonyjmartinez authored and sapegin committed Aug 15, 2019
1 parent 6d70a2a commit 8678c56
Show file tree
Hide file tree
Showing 3 changed files with 1,684 additions and 4,448 deletions.
1 change: 1 addition & 0 deletions examples/basic/babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
{
modules: false,
useBuiltIns: 'usage',
corejs: 3,
},
],
'@babel/react',
Expand Down
Loading

0 comments on commit 8678c56

Please sign in to comment.