vue-recomputed

0.0.1 • Public • Published

VueRecomputed Build Status npm package coverage thanks

Recomputable computed properties in Vue

⚠️ You probably don't need this, please, first check this issue and this comment and this other one as well

Installation

npm install vue-recomputed

Usage

This is a silly example to showcase the API. Never do this kind of thigs:

export default {
  recomputed: {
    currentTime() {
      // you have access to the component as with computed properties
      return Date.now()
    },
  },
 
  methods: {
    updateTime() {
      this.$recompute('currentTime')
    },
  },
}

License

MIT

Dependencies (0)

    Dev Dependencies (9)

    Package Sidebar

    Install

    npm i vue-recomputed

    Weekly Downloads

    20

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    10.2 kB

    Total Files

    9

    Last publish

    Collaborators

    • posva