UNPKG

create-expo-cljs-app

Version:

Create a react native application with Expo and Shadow-CLJS!

38 lines (28 loc) 1.14 kB
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * */ 'use strict'; function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); } function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); } import * as React from 'react'; var StaticRenderer = /*#__PURE__*/function (_React$Component) { _inheritsLoose(StaticRenderer, _React$Component); function StaticRenderer() { return _React$Component.apply(this, arguments) || this; } var _proto = StaticRenderer.prototype; _proto.shouldComponentUpdate = function shouldComponentUpdate(nextProps) { return nextProps.shouldUpdate; }; _proto.render = function render() { return this.props.render(); }; return StaticRenderer; }(React.Component); export default StaticRenderer;