Skip to content

Commit 1592259

Browse files
committed
Remove createCache and cache.set/get calls from main.js
1 parent b0c2f4f commit 1592259

File tree

1 file changed

+0
-8
lines changed
  • frameworks/keyed/million/src

1 file changed

+0
-8
lines changed

frameworks/keyed/million/src/main.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
fragment,
44
stringToDOM,
55
withKey,
6-
createCache,
76
} from '/Users/aidenybai/Projects/aidenybai/million/packages/block/index';
87

98
const adjectives = [
@@ -345,10 +344,3 @@ function update() {
345344
main.patch(render(oldCache, newCache));
346345
oldCache = newCache;
347346
}
348-
349-
const cache = createCache();
350-
cache.set('foo', { foo: 'bar' });
351-
setInterval(() => {
352-
cache.set('foo', { foo: String(Math.random()) });
353-
}, 1);
354-
console.log(cache.get('foo'));

0 commit comments

Comments
 (0)