swiss-thunk

0.1.0 • Public • Published

Swiss Thunk

Swiss Thunk middleware allows you to write components that return a function instead of a render fragment. The thunk can be used to delay the render of a component, or to render only if a certain condition is met. The inner function receives the element method render as a parameter.

/swiss-thunk/

    Package Sidebar

    Install

    npm i swiss-thunk

    Weekly Downloads

    2

    Version

    0.1.0

    License

    none

    Unpacked Size

    14 kB

    Total Files

    10

    Last publish

    Collaborators

    • luwes