docsify-demo-box-react
docsify-demo-box-react copied to clipboard
does component cache really works?
it render components from cache when router change
hook.mounted(function() {
// Called after initial completion. Only trigger once, no arguments.
vm.router.onchange(() => {
components.renderFromCache()
})
})
)
but id always +1 and never the the same
id++