.ts
In a previous story on testing patterns for Angulars new HttpClient API, I wrote that migrating to HttpHeaders and HttpParams —…
HttpHeaders
HttpParams
ES6 Map ftw!
Today, I’d like to present a simple in-memory cache implementation written in TypeScript. It uses the least-recently used (LRU) cache eviction strategy. Very simplified, LRU…
A few days ago, I stumbled across the following question on stackover: