Minor Changes
- #2197
3137a6c4
Thanks @n1ru4l! - Now featuring: tabs! 🥳 🍾 just opt-in with new prop<GraphiQL tabs />
.
You can also both opt-in and provide a handler via<GraphiQL tabs={{ onTabsChange }} />
!
Patch Changes
-
#2249
1540fd3d
Thanks @acao! - Finally remove inlinerequire()
for codemirror addon imports, replace with modern dynamicimport()
(which enablesesbuild
,vite
, etc).This change should allow your bundler to code split codemirror-graphql and the codemirror addons based on which you import. For SSR support, GraphiQL must load these modules dynamically.
If you want to use other codemirror addons (vim, etc) for non-ssr you can just import them top level, or for SSR, you can just dynamically import them.