Skip to content

Commit 130e08f

Browse files
committed
Upgrade to React 18 in GraphiQL embedded integration
Closes gh-776
1 parent df5748c commit 130e08f

File tree

1 file changed

+3
-12
lines changed
  • spring-graphql/src/main/resources/graphiql

1 file changed

+3
-12
lines changed

spring-graphql/src/main/resources/graphiql/index.html

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,13 @@
1414
height: 100vh;
1515
}
1616
</style>
17-
<script
18-
src="https://unpkg.com/react@17/umd/react.development.js"
19-
integrity="sha512-Vf2xGDzpqUOEIKO+X2rgTLWPY+65++WPwCHkX2nFMu9IcstumPsf/uKKRd5prX3wOu8Q0GBylRpsDB26R6ExOg=="
20-
crossorigin="anonymous"
21-
></script>
22-
<script
23-
src="https://unpkg.com/react-dom@17/umd/react-dom.development.js"
24-
integrity="sha512-Wr9OKCTtq1anK0hq5bY3X/AvDI5EflDSAh0mE9gma+4hl+kXdTJPKZ3TwLMBcrgUeoY0s3dq9JjhCQc7vddtFg=="
25-
crossorigin="anonymous"
26-
></script>
17+
<script src="https://unpkg.com/react@18/umd/react.production.min.js" crossorigin></script>
18+
<script src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js" crossorigin></script>
19+
<script src="https://unpkg.com/graphiql/graphiql.min.js" type="application/javascript"></script>
2720
<link rel="stylesheet" href="https://unpkg.com/graphiql/graphiql.min.css" />
2821
</head>
29-
3022
<body>
3123
<div id="graphiql">Loading...</div>
32-
<script src="https://unpkg.com/graphiql/graphiql.min.js" type="application/javascript"></script>
3324
<script>
3425
const params = new URLSearchParams(window.location.search);
3526

0 commit comments

Comments
 (0)