Created
June 18, 2020 08:48
-
-
Save JoviDeCroock/4f833e8caa8437a9e2fbcb87dd9120da to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var App = Object(preact_compat__WEBPACK_IMPORTED_MODULE_0__["memo"])(_c = _s2(function App2(props) { | |
_s2(); | |
var _useCounter = Object(_useCounter__WEBPACK_IMPORTED_MODULE_1__["useCounter"])(0), | |
_useCounter2 = _slicedToArray(_useCounter, 2), | |
count = _useCounter2[0], | |
increment = _useCounter2[1]; | |
return Object(preact_compat__WEBPACK_IMPORTED_MODULE_0__["h"])("div", null, Object(preact_compat__WEBPACK_IMPORTED_MODULE_0__["h"])("p", null, "Count: ", count), Object(preact_compat__WEBPACK_IMPORTED_MODULE_0__["h"])("button", { | |
onClick: increment | |
}, "Increment")); | |
}, "GenHniJrjDFw3kEenEhudP4Sn3g=", false, function () { | |
return [_useCounter__WEBPACK_IMPORTED_MODULE_1__["useCounter"]]; | |
})); | |
_c2 = App; | |
var _c, _c2; | |
$RefreshReg$(_c, "App$memo"); | |
$RefreshReg$(_c2, "App"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment