Last 12 weeks ยท 0 commits
2 of 6 standards met
Repository: vuejs/vue-hot-reload-api. Description: ๐ถ๏ธ Hot reload API for Vue components Stars: 466, Forks: 51. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Latest release: v2.3.4 (6y ago). Open PRs: 13, open issues: 18. Last activity: 3y ago. Community health: 37%. Top contributors: yyx990803, Grafikart, haoqunjiang, HerringtonDarkholme, faustinoaq, janvennemann, ansidev, pi0, scottbedard, sudo-suhas and others.
I have a 'child' component that extends a 'base' component, using the property 'extends'. However, when I edit the HTML or change the data of the base component and save the file, the child component gets overwritten completely with the contents of the base component by the hot reload, and there's no way to get the child back other than hard reloading the page. Is this a known issue or a bug?
Description Component A is defined in a file, and component B is defined in a file that extends A. After changing the `test()changeThis()component.vuevue-hot-reload-apimapdata-v-xxxxxx`). After hot reload, the constructor of B is recreated with the options of A. Maybe that is why component B is reloaded without its own methods?