Skip to content

Commit

Permalink
Update to React 17.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Nov 10, 2020
1 parent 5b6213c commit 5f832cc
Show file tree
Hide file tree
Showing 5 changed files with 227 additions and 38 deletions.
4 changes: 2 additions & 2 deletions lib/client-assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,13 @@ function gutenberg_register_vendor_scripts( $scripts ) {
gutenberg_register_vendor_script(
$scripts,
'react',
'https://unpkg.com/react@16.13.1/umd/react' . $react_suffix . '.js',
'https://unpkg.com/react@17.0.1/umd/react' . $react_suffix . '.js',
array( 'wp-polyfill' )
);
gutenberg_register_vendor_script(
$scripts,
'react-dom',
'https://unpkg.com/react-dom@16.13.1/umd/react-dom' . $react_suffix . '.js',
'https://unpkg.com/react-dom@17.0.1/umd/react-dom' . $react_suffix . '.js',
array( 'react' )
);

Expand Down
243 changes: 216 additions & 27 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,10 @@
"prettier": "npm:[email protected]",
"progress": "2.0.3",
"puppeteer": "npm:[email protected]",
"react": "16.13.1",
"react-dom": "16.13.1",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.61.5",
"react-test-renderer": "16.13.1",
"react-test-renderer": "17.0.1",
"rimraf": "3.0.2",
"rtlcss": "2.4.0",
"sass": "1.26.11",
Expand Down
Loading

0 comments on commit 5f832cc

Please sign in to comment.