docsify-demo-box-react icon indicating copy to clipboard operation
docsify-demo-box-react copied to clipboard

does component cache really works?

Open githoniel opened this issue 5 years ago • 0 comments

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++

githoniel avatar Feb 24 '20 02:02 githoniel