Liferay.Loader.define("data-engine-taglib$react-router@5.3.4/modules/Lifecycle", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import React from "react";

    class Lifecycle extends React.Component {
      componentDidMount() {
        if (this.props.onMount) this.props.onMount.call(this, this);
      }

      componentDidUpdate(prevProps) {
        if (this.props.onUpdate) this.props.onUpdate.call(this, this, prevProps);
      }

      componentWillUnmount() {
        if (this.props.onUnmount) this.props.onUnmount.call(this, this);
      }

      render() {
        return null;
      }
    }

    export default Lifecycle;
  }
});
//# sourceMappingURL=Lifecycle.js.map