Skip to content

Commit 847951c

Browse files
committed
Link to Dan Sutton's article about the pitfalls of the API.
1 parent abc4953 commit 847951c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ The `clojure.core.cache.wrapped` namespace contains the same API operating on ca
2626

2727
core.cache is based on an old library named Clache that has been thoroughly deprecated.
2828

29+
The `core.cache` API is hard to use correctly. That's why `clojure.core.cache.wrapped/lookup-or-miss` exists: it encapsulates all the best practices around using the API _and_ wraps it in an `atom` from the get-go. Read this article about [the `core.cache` API](https://dev.to/dpsutton/exploring-the-core-cache-api-57al) by Dan Sutton for why it is important to use the API correctly!
2930

3031
Releases and Dependency Information
3132
========================================

0 commit comments

Comments
 (0)