Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

(react/preact) - add displayName to the context provider (#1431)

* add displayName to the (P)React context provider

* move displayName to context var

authored by

Jovi De Croock and committed by
GitHub
874c5f82 5da952cb

+8
+6
.changeset/kind-cooks-invite.md
··· 1 + --- 2 + '@urql/preact': patch 3 + 'urql': patch 4 + --- 5 + 6 + Add a displayName to the Provider
+1
packages/preact-urql/src/context.ts
··· 9 9 export const Context = createContext<Client>(defaultClient); 10 10 export const Provider = Context.Provider; 11 11 export const Consumer = Context.Consumer; 12 + Context.displayName = 'UrqlContext'; 12 13 13 14 let hasWarnedAboutDefault = false; 14 15
+1
packages/react-urql/src/context.ts
··· 8 8 export const Context = createContext<Client>(defaultClient); 9 9 export const Provider = Context.Provider; 10 10 export const Consumer = Context.Consumer; 11 + Context.displayName = 'UrqlContext'; 11 12 12 13 let hasWarnedAboutDefault = false; 13 14