Kong/swrv

add comparison of data via `compare` config

Open

#41 opened on May 9, 2020

 (4 comments) (1 reaction) (0 assignees)TypeScript (77 forks)github user discovery
help wantedswr

Repository metrics

Stars
 (2,280 stars)
PR merge metrics
 (PR metrics pending)

Description

swr uses a compare function to detect changes to see if the cache needs to be updated. Would be a nice addition before setting the cache. https://github.com/zeit/swr/pull/219

Contributor guide