Im at the end of lecture 76, and I noticed that the props for the movie-list component were not populated with arrays but with undefined.
So turns out I have Vue 2.1.10 and in order to get it to 'sort of' work I have to change the data member of the root component to return a function:
new Vue({
el: '#app',
data() {
return {
genre: [],
time: []
}
...
And this causes props to be updated on the root component when you click the filter, not movie-list.
when I revert to 2.1.0 everything seems fine though, so Ill continue using that for now.
Im at the end of lecture 76, and I noticed that the props for the movie-list component were not populated with arrays but with undefined.
So turns out I have Vue 2.1.10 and in order to get it to 'sort of' work I have to change the data member of the root component to return a function:
new Vue({
el: '#app',
data() {
return {
genre: [],
time: []
}
...
And this causes props to be updated on the root component when you click the filter, not movie-list.
when I revert to 2.1.0 everything seems fine though, so Ill continue using that for now.