axios-hooks icon indicating copy to clipboard operation
axios-hooks copied to clipboard

Suggestion: upgrade lru-cache and use lru-cache/browser

Open Resetand opened this issue 2 years ago • 3 comments

Hi, i'd like to suggest you to use the new version of lru-cache and start using lru-cache/browser instead of lru-cache

lru-cache v7.4.0

Resetand avatar Apr 28 '22 01:04 Resetand

What's the advantage?

simoneb avatar Apr 28 '22 07:04 simoneb

Add browser optimized webpack bundle, exposed as 'lru-cache/browser'

Resetand avatar May 18 '22 15:05 Resetand

@Resetand Would you like to send a PR to do this?

simoneb avatar May 20 '22 15:05 simoneb

This is now solved in v4, by upgrading to the latest lru-cache which, by now, has removed the browser specific export

simoneb avatar Sep 29 '22 20:09 simoneb