You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Query (and the internal GraphQLQuery) component take an operation prop instead of separate variables and query props. This makes the implementation a little more elegant, is more consistent with the GraphQL.query API and allows sending custom GraphQL operation fields.
New internal event system, fixing #10. Now the loading parameter of Query component render functions change when identical requests are loaded elsewhere in the app.
Minor
Improved Provider and Consumer component display names in React dev tools:
Context.Provider → GraphQLContext.Provider
Context.Consumer → GraphQLContext.Consumer
Patch
Updated dependencies.
Updated package scripts and config for the new husky version.
Removed the package module field. Webpack by default resolves extensionless paths the same way Node.js in --experimental-modules mode does; .mjs files are preferred. Tools misconfigured or unable to resolve .mjs can get confused when module points to an .mjs ESM file and they attempt to resolve named imports from .js CJS files.
Renamed the Operation type GraphQLOperation.
Use jsDelivr for the readme logo instead of RawGit as they are shutting down.