Commit Graph

18 Commits

Author SHA1 Message Date
mekhami 799ac2b316 fix: error in renderless rendering (#381) 2018-09-07 21:02:20 +02:00
Juan Antonio Gómez Cabo 00a3efdacd feat: Let the ApolloQuery be a renderless component if tag prop is undefined (#365)
* Let the ApolloQuery be a renderless component if `tag` prop is undefined

* Let the ApolloMutation component be a renderless component if `tag` prop is undefined
2018-08-30 14:00:53 +02:00
Hugome 3c6cd10fc9 feat: Add clientId in ApolloMutation component (#359) 2018-08-30 13:55:35 +02:00
Omar Jbara 9ca73d5863 feat: Added support for debounce and throttle in ApolloQuery component (#349)
* Added support for debounce and throttle in ApolloQuery component

* chore: revert esm dist

* chore: revert min dist

* chore: revert umd dist
2018-08-30 13:55:11 +02:00
Guillaume Chau 768e4688b9 refactor: SSR 2018-08-30 13:36:15 +02:00
Guillaume Chau 9cba8ed756 fix: eslint error 2018-06-18 12:06:31 +02:00
Yordis Prieto dff5fb9582 Move times outside of the result data structure (#308)
closes #307
2018-06-18 12:02:47 +02:00
Guillaume Chau 75b69e5f69 feat: error.gqlError => first GraphQL error 2018-05-27 00:32:07 +02:00
Guillaume Chau 9c89a24ce5 fix(ApolloQuery): remove console.log 2018-05-26 11:43:15 +02:00
Guillaume Chau 3d4e68fda8 feat: ApolloQuery deep prop 2018-05-21 20:18:17 +02:00
Guillaume Chau 877755f755 fix: set components props to undefined 2018-05-21 20:16:13 +02:00
Binyomin Greenes c8f9f30482 Pass back isLoading to scoped-slot (#218)
* Pass back `isLoading` to scoped-slot

Right now `loading` is only set when a result is received, not when the request is sent. Using `watchLoading`, we can pass the loading state from when the request is sent.

* Use $apolloData.loading

We can simply use the $apolloData.loading property to get the current loading state of the query.
2018-05-21 19:38:46 +02:00
Guillaume Chau 31f790d524 fix: ApolloMutation done event: added result arg 2018-05-07 17:34:39 +02:00
Guillaume Chau 27171b215f feat: ApolloMutation component + no longer require data declaration 2018-05-07 17:30:09 +02:00
Guillaume Chau 99b09e4cc0 ApolloQuery events + times attr 2018-03-09 20:45:21 +01:00
Guillaume Chau ca751be551 Fix ApolloQuery default slot 2018-02-15 17:47:04 +01:00
Guillaume Chau 164b7bb9de Cleanup console log 2018-02-12 16:34:08 +01:00
Guillaume Chau 6650430959 Query components + loading + provider improvements 2018-02-11 21:55:43 +01:00