Skip to content

[js] 第714天 requireJS的核心原理是什么? #3753

@haizhilin2013

Description

@haizhilin2013
Collaborator

第714天 requireJS的核心原理是什么?

3+1官网

我也要出题

Activity

jing1234567

jing1234567 commented on Mar 30, 2021

@jing1234567

equire.js 的核心原理是通过动态创建 script 脚本来异步引入模块,然后对每个脚本的 load 事件进行监听,如果每个脚本都加载完成了,再调用回调函数。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    jsJavaScript

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @haizhilin2013@jing1234567

        Issue actions

          [js] 第714天 requireJS的核心原理是什么? · Issue #3753 · haizlin/fe-interview