overblog / GraphiQLBundle

This Symfony Bundle provides GraphiQL interface for your project
MIT License
77 stars 26 forks source link

JS libraries management should be refactored #3

Open ooflorent opened 6 years ago

ooflorent commented 6 years ago

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;dr GraphiQLViewJavaScriptLibraries should use a map.

renatomefi commented 6 years ago

Sounds awesome! The initial idea was to port as it is for version 0.1.0! I'm looking forwards for every improvements coming up now :)