"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _react = require("react");

var _mobx = require("mobx");

var _mobxReactLite = require("mobx-react-lite");

var useComputed = _mobxReactLite.useComputed || function (func) {
  var inputs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
  return (0, _react.useMemo)(function () {
    return (0, _mobx.computed)(func);
  }, inputs).get();
};

var _default = useComputed;
exports["default"] = _default;
//# sourceMappingURL=index.js.map
