UNPKG

esoftplay-market

Version:

market module on esoftplay framework

12 lines (8 loc) 197 B
// useLibs // noPage import useSafeState from "esoftplay/state" export default function m(): [() => void, number] { const [a, b] = useSafeState(0) const c = () => b(a + 1) return [c, a] }