Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | /**
* Coherent.js Performance
*
* Complete performance optimization utilities (cache, code-splitting,
* lazy-loading) absorbed from the deleted `@coherent.js/performance` package,
* plus the pre-existing `PerformanceDashboard` re-exported here so the
* `@coherent.js/devtools/performance` subpath remains a single aggregator.
*
* @module performance
*/
export * from './code-splitting.js';
export * from './cache.js';
export * from './lazy-loading.js';
export {
CodeSplitter,
createCodeSplitter,
lazy,
splitComponent,
createRouteSplitter,
} from './code-splitting.js';
export {
LRUCache,
MemoryCache,
MemoCache,
RenderCache,
createCache,
memoize,
} from './cache.js';
export {
LazyLoader,
ImageLazyLoader,
ResourcePreloader,
createLazyLoader,
lazyImage,
progressiveImage,
} from './lazy-loading.js';
// Re-export the pre-existing performance dashboard so existing consumers of
// `@coherent.js/devtools/performance` (e.g. createPerformanceDashboard) keep
// working after the absorption.
export {
PerformanceDashboard,
createPerformanceDashboard,
showPerformanceDashboard,
} from '../performance-dashboard.js';
|