vuejs / vue-async-data

Async data loading plugin
MIT License
416 stars 38 forks source link

One way binds #9

Open JoshZA opened 9 years ago

JoshZA commented 9 years ago

Would be awesome if this could 'refresh' one way binds when async data is received

Something like <span> Edit {{* person.name }} </span>

   asyncData: function () {
            var self = this
            return PeopleRedux
                    .single(self.$route.params.personId)
                    .then(function (person) {
                        return {
                            person: person
                        }
                    });
        },