GitShow/vuejs/vue-hot-reload-api
vuejs

vue-hot-reload-api

๐ŸŒถ๏ธ Hot reload API for Vue components

by vuejs
Star on GitHubForknpm

JavaScript

465 stars50 forks16 contributorsQuiet ยท 3y agoSince 2015v2.3.4MIT

Meet the team

See all 16 on GitHub โ†’
yyx990803
yyx99080361 contributions
Grafikart
Grafikart2 contributions
haoqunjiang
haoqunjiang2 contributions
HerringtonDarkholme
HerringtonDarkholme1 contribution
faustinoaq
faustinoaq1 contribution
janvennemann
janvennemann1 contribution
ansidev
ansidev1 contribution
pi0
pi01 contribution

Languages

View on GitHub โ†’
JavaScript100%

Commit activity

Last 12 weeks ยท 0 commits

Full graph โ†’

Community health

2 of 6 standards met

Community profile โ†’
37
โœ“READMEโœ“Licenseโ—‹Contributingโ—‹Code of Conductโ—‹Issue Templateโ—‹PR Template

Recent PRs & issues

Quiet ยท Last activity 3y ago
See all on GitHub โ†’
Xbantian
fix: functional component memory leakOpenPR

fix bug #80

Xbantian ยท 4y ago
Dylan190774
Hot reloading of extended components doesn't work when base component changesOpenIssue

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?

Dylan190774 ยท 4y ago
hjkcai
Component extends another component lost its extended methods after hot reloadOpenIssue

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?

hjkcai ยท 4y ago

Recent fixes

View closed PRs โ†’
yansenlei
How to keep custom properties when reloading componentsClosedIssue

When the component is reloaded, I expect to keep the custom properties. Can we add logic here: vue-hot-reload-api/blob/master/src/index.js#L91? Or have other schemes, please tell me.

yansenlei ยท 4y ago
Structured data for AI agents

Repository: vuejs/vue-hot-reload-api. Description: ๐ŸŒถ๏ธ Hot reload API for Vue components Stars: 465, Forks: 50. 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.

ยท@ofershap

Replace github.com with gitshow.dev