An open API service providing repository metadata for many open source software ecosystems.

GitHub / meteor-vue / vue-meteor-tracker

Use Meteor Tracker reactivity inside Vue components

JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meteor-vue%2Fvue-meteor-tracker
PURL: pkg:github/meteor-vue/vue-meteor-tracker

Stars: 89
Forks: 23
Open issues: 38

License: None
Language: TypeScript
Size: 315 KB
Dependencies parsed at: Pending

Created at: about 9 years ago
Updated at: 4 months ago
Pushed at: about 2 years ago
Last synced at: 4 months ago

Commit Stats

Commits: 64
Authors: 5
Mean commits per author: 12.8
Development Distribution Score: 0.484
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/meteor-vue/vue-meteor-tracker

Topics: meteor, vuejs

Funding Links https://github.com/sponsors/Akryum

Releases
v2.0.0-beta.4

v2.0.0-beta.4 Pre-release

Fixed

  • subscribe merge strategy, closes #28
  • $startMeteor and $stopMeteor, closes #29
  • reactivity issues, closes #34 #38
about 7 years ago
Download
v2.0.0-beta.3

v2.0.0-beta.3 Pre-release

Breaking changes

  • meteor: { subscribe: { ... } } (without the $ sign) will no longer subscribe and will be considered as a data prop.
  • this.$subscribe arguments are now name (string) and params (array or function returning an array).

Before:

this.$subscribe('my-sub', 1, 2, 3)

After:

this.$subscribe('my-sub', [1, 2, 3])

Or:

// Reactive params
this.$subscribe('my-sub', () => this.params)

New

  • You can now use Meteor reactive data inside computed properties (docs).
over 7 years ago
Download
v2.0.0-beta.2

v2.0.0-beta.2 Pre-release

Breaking changes

  • An error will now be thrown if the key of a meteor data prop is already defined in data, props, etc.

Before:

export default {
  data () {
    return {
      notes: []
    }
  },

  meteor: {
    notes () {
      return Notes.find({})
    }
  }
}

After:

export default {
  meteor: {
    notes () {
      return Notes.find({})
    }
  }
}

Fixed

  • Tracker computation of a Meteor data prop is now invalidated instead of stopped when the Vue watcher is notified.
over 7 years ago
Download
v2.0.0-beta.1

v2.0.0-beta.1 Pre-release

Breaking changes

  • Data properties in meteor option can now only be functions returning the result. You no longer need to separate into params and update functions since you can now use both Meteor and Vue reactive data in the function.

Before:

meteor: {
  selectedThread: {
    params () {
      return {
        id: this.selectedThreadId
      }
    },
    deep: true,
    update ({id}) {
      return Threads.findOne(id)
    }
  }
}

After:

meteor: {
  selectedThread () {
    return Threads.findOne(this.selectedThreadId)
  }
}

New

  • MeteorSub and MeteorData components (docs)

Fixed

  • Uninitialized data now displayed in vue devtools
  • $subReady reactivity fix #26
over 7 years ago
Download
Now `vue-supply` friendly

v1.2.3

New

  • New this.$stopMeteor and this.$startMeteor component methods
  • New $lazy meteor option
over 8 years ago
Download
v1.1.0

v1.1.0

  • Added option merging strategy.
almost 9 years ago
Download
v1.0.3

v1.0.3

  • Added deep option for reactive data #1
about 9 years ago
Download