coderlhd

1.1.3 • Public • Published

Coderlhd包使用规则

reactive使用规则

const { reactive, watchFns } = require("coderlhd")
const obj = reactive({
    name: "name",
    age: 18
})

watchFns(() => {
    console.log("姓名", obj.name);
})

obj.name = "coderlhd"

HDPromise使用规则

遵循promise a+规范

/coderlhd/

    Package Sidebar

    Install

    npm i coderlhd

    Weekly Downloads

    7

    Version

    1.1.3

    License

    ISC

    Unpacked Size

    14.4 kB

    Total Files

    11

    Last publish

    Collaborators

    • coderlhd