Current implementation of GraphiQLViewJavaScriptLibraries is far from ideal. react and react-dom versions should be decoupled. fetch polyfill is no longer required for modern browsers. For older ones, Promise, Map and Set polyfills are missing.
tl;drGraphiQLViewJavaScriptLibraries should use a map.
Current implementation of
GraphiQLViewJavaScriptLibraries
is far from ideal.react
andreact-dom
versions should be decoupled.fetch
polyfill is no longer required for modern browsers. For older ones,Promise
,Map
andSet
polyfills are missing.tl;dr
GraphiQLViewJavaScriptLibraries
should use a map.