Preact Packages

@slimr/swr

A tiny (~600B when bundled) hook that accepts a function callback, calls the function and returns a reactive callback state. Uses a cache and will return the cache value if available while waiting for the callback to complete, then update the return on co

2.1.37 • Published 2 years ago