Skip to content

Conversation

@DorianMaliszewski
Copy link
Member

Allow users to pass a callback function that return a boolean to tell if we enable or not the polling (Allow us to drop local useState to manage this)

@codecov
Copy link

codecov bot commented Nov 30, 2021

Codecov Report

Merging #520 (f7a0e17) into main (88ccb26) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main      #520   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines          484       492    +8     
  Branches        78        81    +3     
=========================================
+ Hits           484       492    +8     
Impacted Files Coverage Δ
packages/use-dataloader/src/DataLoaderProvider.tsx 100.00% <ø> (ø)
packages/use-dataloader/src/dataloader.ts 100.00% <100.00%> (ø)
packages/use-dataloader/src/useDataLoader.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 88ccb26...f7a0e17. Read the comment docs.

@DorianMaliszewski DorianMaliszewski merged commit fc28e6d into main Nov 30, 2021
@DorianMaliszewski DorianMaliszewski deleted the feat/polling-callback branch November 30, 2021 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants