Skip to content

Commit 9e6cdb7

Browse files
authored
Upgrade to React 18 (#54)
1 parent ddad258 commit 9e6cdb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GraphiQLAsset.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
class GraphiQLAsset
1111
{
1212
public const REACT_JS_LOCAL_PATH = 'vendor/graphiql/react.production.min.js';
13-
public const REACT_JS_SOURCE_URL = 'https://cdn.jsdelivr.net/npm/react@17/umd/react.production.min.js';
13+
public const REACT_JS_SOURCE_URL = 'https://cdn.jsdelivr.net/npm/react@18/umd/react.production.min.js';
1414

1515
public const REACT_DOM_JS_LOCAL_PATH = 'vendor/graphiql/react-dom.production.min.js';
16-
public const REACT_DOM_JS_SOURCE_URL = 'https://cdn.jsdelivr.net/npm/react-dom@17/umd/react-dom.production.min.js';
16+
public const REACT_DOM_JS_SOURCE_URL = 'https://cdn.jsdelivr.net/npm/react-dom@18/umd/react-dom.production.min.js';
1717

1818
public const GRAPHIQL_CSS_LOCAL_PATH = 'vendor/graphiql/graphiql.min.css';
1919
public const GRAPHIQL_CSS_SOURCE_URL = 'https://cdn.jsdelivr.net/npm/graphiql/graphiql.min.css';

0 commit comments

Comments
 (0)