Patch Changes
-
#3949
0844dc1
Thanks @dimaMachina! - - replaceonCopyQuery
hook withcopyQuery
function- replace
onMergeQuery
hook withmergeQuery
function - replace
onPrettifyEditors
hook withprettifyEditors
function - remove
fetcher
prop fromSchemaContextProvider
andschemaStore
and addfetcher
toexecutionStore
- add
onCopyQuery
andonPrettifyQuery
props toEditorContextProvider
- remove exports (use
GraphiQLProvider
)EditorContextProvider
ExecutionContextProvider
PluginContextProvider
SchemaContextProvider
StorageContextProvider
ExecutionContextType
PluginContextType
- feat(@graphiql/react): migrate React context to zustand:
- replace
useExecutionContext
withuseExecutionStore
hook - replace
useEditorContext
withuseEditorStore
hook
- replace
- prefer
getComputedStyle
overwindow.getComputedStyle
- replace
-
#3234
86a96e5
Thanks @dimaMachina! - Migration from Codemirror to Monaco EditorReplacing
codemirror-graphql
withmonaco-graphql
Support for comments in Variables and Headers editors
-
Updated dependencies [
0844dc1
,86a96e5
,2455907
]:- @graphiql/react@0.35.0-rc.0