pagraphcontrol/utils/memoize.js
2018-11-19 02:03:57 +03:00

11 lines
157 B
JavaScript

const {
memoizeWith,
} = require('ramda');
const weakmapId = require('./weakmap-id');
const memoize = memoizeWith(weakmapId);
module.exports = memoize;