chore(catalog/star): added a comment about why we are using a simple cache here

This commit is contained in:
blam
2020-06-10 13:57:17 +02:00
parent 27879655a7
commit 983c119c78
+3
View File
@@ -24,6 +24,9 @@ import {
import Cache from 'node-cache';
export class CatalogClient implements CatalogApi {
// TODO(blam): This cache is just temporary until we have GraphQL.
// And client side caching using things like React Apollo or Relay.
// There's a lot of loading states that cause flickering around the app which aren't needed.
private cache: Cache;
private apiOrigin: string;
private basePath: string;