-
Notifications
You must be signed in to change notification settings - Fork 776
Update apollo-client, increase performance, and pass polling props #44
Conversation
Feature: add `startPolling` and `stopPolling` to the prop object for queries | ||
Bug: Fix bug where full options were not being passed to watchQuery | ||
|
||
### v0.3.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why two separate versions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0.3.1 was already published but not updated in the changelog
@stubailo this should be good to go. If you are good with it, feel free to merge. It'll deploy on its own |
@@ -1,9 +1,9 @@ | |||
declare module "lodash.isobject" { | |||
import main = require('~lodash/index'); | |||
export = main.isObject; | |||
// export = main.isObject; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this about?
Looks good to me! Only thing is I'm not sure what's with the commented typings. |
Oh yeah! I upgraded my typings locally. I think it was seeing ambient.d.ts and the generated files. I'm not really sure, need to investigate more |
|
This PR brings support for polling with the client as well as passes
stopPolling
andstartPolling
to the client.It also adds a check to prevent rerenders if the data doesn't change.