Notoriously Psychedelic Modules
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    statorpublic

    Stator

    state accumulated from DOM events

    Live Example

    Todo List

    todo

    • create an event stream
    • accumulate events into a state object
    • render state to a vdom element
    • delete items
    • record events to localstorage
    • replay events when the user reloads the page
    • undo last event
    • redo
    • make localstorage stuff optional
    • do something asynchronous

    Keywords

    none

    install

    npm i stator

    Downloadsweekly downloads

    1

    version

    0.1.0

    license

    Artistic-2.0

    repository

    github.com

    last publish

    collaborators

    • avatar