This repository was archived by the owner on Apr 13, 2023. It is now read-only.

Description
Hi,
So I have noticed today another problem that comes from remounting a component (again same principle let's say we reroute and come back, the component was mounter->unmounted->mounted).
When using pollInterval this is what happens:
- 1st mount: query is refetched every
interval seconds : pass
- umount: query is stopped from refetching: pass
- 2nd mount: queries is still stopped from refetching : fail
To me it seems to me that queries are created on first mount only and destroyed on unmount, but when remount happens the query is not recreated or something.
Can't it somehow be related to this line? From what I see the code checks if there are new props, and if so, it will subscribe to query only after that, but in polling I don't think there is necessity for new props.