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