File tree Expand file tree Collapse file tree 1 file changed +12
-7
lines changed
Expand file tree Collapse file tree 1 file changed +12
-7
lines changed Original file line number Diff line number Diff line change 2828 If you do not want to rely on a CDN, you can host these files locally or
2929 include them directly in your favored resource bunder.
3030 -->
31+ <!-- GraphiQL 4.1.0 + peer-deps from a CDN -->
3132 <link
32- href =" //cdn.jsdelivr.net/npm/graphiql@0.12.0/graphiql.css"
3333 rel =" stylesheet"
34+ href =" //unpkg.com/graphiql@4.1.0/graphiql.min.css"
3435 />
35- <script src =" //cdn.jsdelivr.net/npm/whatwg-fetch@2.0.3/fetch.min.js" />
36- <script
37- src =" //cdn.jsdelivr.net/npm/react@16.2.0/umd/react.production.min.js"
38- />
36+
37+ <!-- Promise/fetch polyfills if you still need them -->
38+ <script src =" //cdn.jsdelivr.net/npm/whatwg-fetch@3/fetch.umd.min.js" />
39+
40+ <!-- React 18 UMD builds (any 16-18 will do) -->
41+ <script src =" //unpkg.com/react@18/umd/react.production.min.js" />
3942 <script
40- src =" //cdn.jsdelivr.net/npm/ react-dom@16.2.0 /umd/react-dom.production.min.js"
43+ src =" //unpkg.com/ react-dom@18 /umd/react-dom.production.min.js"
4144 />
42- <script src =" //cdn.jsdelivr.net/npm/graphiql@0.12.0/graphiql.min.js" />
45+
46+ <!-- GraphiQL itself -->
47+ <script src =" //unpkg.com/graphiql@4.1.0/graphiql.min.js" />
4348 </t >
4449 <t t-set =" head" t-value =" head" />
4550 </t >
You can’t perform that action at this time.
0 commit comments