9 个仓库
Mechanisms for importing JavaScript modules asynchronously and executing callbacks upon dependency resolution.
Distinct from Pluggable Module Loading: Candidates are restricted to image loading or specific environment configs; this is a general JS module loading pattern
Explore 9 awesome GitHub repositories matching web development · Asynchronous Module Loading. Refine with filters or upvote what's useful.
This project is a collection of programming language references and syntax cheat sheets designed for rapid developer onboarding. It serves as a library of code-based documentation that uses valid source code files to provide whirlwind tours of various language specifications. The project focuses on programming language learning by providing concise, commented code examples that explain core features and syntax in place. This approach enables developers to quickly grasp language-specific patterns, data types, and execution flow through a consistent reference format. The content covers a broad
Provides examples of importing modules asynchronously and using callbacks upon dependency resolution.
This project is a JavaScript UI component library and frontend utility toolkit. It serves as a web modal framework and popup library, providing a specialized system for rendering interactive dialogs, overlays, and layered interfaces over web page content. The library is distinguished by its comprehensive set of overlay tools, including alert dialogs, confirmation prompts, and the ability to embed external content via iframes. It also features a responsive twelve-column grid system for cross-device layout compatibility and an internal modular dependency management system for on-demand loading
Implements an on-demand module loading system that executes callbacks once all required dependencies are resolved.
miniblink49 is a stripped-down Blink browser kernel and embedded web UI framework used to integrate HTML user interfaces into native C++ applications. It functions as a C++ JavaScript interop bridge that maps high-level script calls to low-level native logic and provides a resource-optimized headless browser engine for processing web content without a graphical interface. The project enables custom browser environment control by bypassing cross-origin security policies to allow requests across different domains. It further allows for the interception of network resources to replace remote ass
Implements a standard for asynchronously loading JavaScript modules and managing their dependencies for web assets.
Scala.js 是一个编译器和跨平台语言工具链,将 Scala 源代码转换为 JavaScript 或 WebAssembly。它作为 JavaScript 生态系统的一种静态类型工具,支持为 Web 浏览器和 Node.js 环境开发应用程序。 该项目作为一个 JavaScript 互操作框架,允许创建类型安全的门面(facades)和绑定,以与外部库和全局对象进行交互。它提供了静态和动态 JavaScript 调用机制,包括生成 TypeScript 绑定以及导出内部逻辑以供外部 JavaScript 代码使用的能力。 该工具链包含一个用于生产环境打包和输出优化的前端构建工具,包括死代码消除和模块拆分。它涵盖了广泛的功能面,包括用于 UI 开发的 DOM 元素类型检查、用于全栈开发的跨平台代码共享,以及用于验证优化构建产物的各种测试框架。 编译后的脚本可以使用 JavaScript 解释器直接在命令行环境中执行。
Implements dynamic imports to split compiled code into separate files for on-demand loading at runtime.
这是一个 Webpack 扩展,用于将 CSS 从 JavaScript 文件中提取到独立的样式表中,以用于生产构建。它作为一个 CSS 打包器和资产优化器,将样式与脚本包分离,以实现并行加载并防止出现无样式内容闪烁(FOUC)。 该项目提供了用于生成将本地样式定义映射到应用程序组件的 JavaScript 模块导出的实用工具。它还通过资源查询条件加载不同的 CSS 变体来实现动态主题管理,并支持通过使用内容哈希文件名进行长期浏览器缓存。 能力领域涵盖了通过异步按需样式获取进行的前端性能调优,以及服务端渲染(SSR)优化,包括样式内联和重复标签预防。该工具还支持具有热模块替换(HMR)的开发工作流,以实现即时样式更新。 该插件集成到 Webpack 构建流水线中,并提供用于输出文件名模式和生命周期钩子的配置选项,以定制样式链接标签的生成。
Implements asynchronous loading of CSS stylesheets in coordination with JavaScript module chunks.
Spec 是一套全面的前端编码标准规范和项目架构指南。它提供了一个用于组织目录结构、模块依赖和包布局的框架,以创建可扩展且可预测的代码库。 该项目定义了严格的 React 组件治理标准,包括特定的命名约定和 Props 结构模式。它还建立了 JSON API 数据规范,通过标准化的交换格式和 HTTP 响应结构确保系统组件之间的可预测通信。 该规范涵盖了广泛的功能,包括通过语义化 HTML 和可访问表单控件实现 Web 无障碍合规,以及针对 DOM 操作和资源加载的 Web 性能优化策略。它进一步详细说明了 JavaScript、HTML 和 CSS 的编码风格标准,以在开发团队中保持一致性。
Defines standards for managing dependencies using the Asynchronous Module Definition (AMD) pattern for portable code units.
Workerize 是一个 Web Worker 模块加载器和主线程卸载器。它作为一个异步代理包装器,允许 JavaScript 模块在后台 Worker 中运行,通过将计算密集型任务委托给单独的线程来防止浏览器 UI 冻结。 该项目利用基于代理的接口来调用后台 Worker 内部的函数,就像它们是本地异步调用一样。这种机制使得能够在并行 Worker 中执行模块,以保持主线程的响应性。 该系统涵盖了异步模块执行和 Web Worker 集成,专注于通过将繁重逻辑移出主执行线程来优化主线程。
Runs JavaScript modules in parallel workers using proxies to handle background execution without blocking the UI.
该项目提供了异步 JavaScript 模块加载器的技术标准和 API 规范。它定义了用于定义、引用和加载模块化代码的协议,以确保跨不同浏览器环境的一致执行和互操作性。 该系统建立了一个标准接口,用于获取和初始化 JavaScript 依赖项及非代码资产,而不会阻塞浏览器主线程。它包括一个资源加载器接口,用于将模块标识符映射到物理文件路径,并将相对依赖项解析为绝对 URL。 其能力涵盖前端依赖管理,包括分层路径解析和依赖映射。它支持通过全局命名空间包装器集成遗留脚本,并允许通过基于插件的系统加载非 JavaScript 资源(如 HTML 模板)。 该项目还定义了模块注册、配置驱动的注入以及 API 一致性验证机制,以确保加载器实现符合指定的技术标准。
Provides a standardized protocol for defining and loading JavaScript modules asynchronously across different browser environments.
Yui3 是一个 JavaScript UI 框架和前端应用框架,旨在构建交互式 Web 应用和动态用户界面。它作为一个基于组件的 UI 库,将界面元素组织成具有封装状态和行为的可重用模块化单元。 该框架包含一个基于模块的加载系统,通过依赖感知机制按需解析和执行脚本。它提供了一个 DOM 抽象层来标准化跨浏览器交互,以及一个用于独立模块间解耦通信的发布-订阅事件总线。 该工具包涵盖了客户端状态管理、基于浏览器的界面设计以及将内部数据更改与文档对象模型同步的生命周期管理组件。
Employs asynchronous module loading to import JavaScript functionality on demand upon dependency resolution.