hunk.code_window:     }
       // We might want to inject an extra layer on top of `provider` in the future,
       // such as key serialization, auto GC, etc.
       // For now, it's just a `Map` interface without any modifications.
       return [provider, mutate, unscubscibe]
     }
   }
hunk.labels: keep keep keep keep keep replace keep keep
hunk.after_edit:     return [provider, mutate, unsubscribe]
  
hunk.file_path: src/utils/cache.ts
hunk.type: replace
file: ---
  name: Bug report
  about: Create a bug report for the SWR library
  ---
  
  # Bug report
  
  ## Description / Observed Behavior
  
  What kind of issues did you encounter with SWR?
  
  ## Expected Behavior
  
  How did you expect SWR to behave here?
  
  ## Repro Steps / Code Example
  
  Or share your code snippet or a [CodeSandbox](https://codesandbox.io) link is also appreciated!
  
  ## Additional Context
  
  SWR version. 
  Add any other context about the problem here.
  
  