前端运行时性能与资源加载最佳实践

React.memo / Vue computed 避免不必要的重渲染useMemo / useCallback@tanstack/react-virtual、vue-virtual-scroller)React.lazy / defineAsyncComponentsrcset 支持响应式Cache-Control 和内容摘要(hash)文件名Promise.all,避免不必要的串行requestAnimationFrame,避免强制同步布局