Lightweight implementation of promises

后端 未结 7 1698
独厮守ぢ
独厮守ぢ 2021-02-02 17:09

I am building a simple charting tool. When a user chooses a data source and a chart type, both the data and the script for the specific chart (.js) are loaded and then the code

7条回答
  •  甜味超标
    2021-02-02 17:39

    Check Deferred it has modular build, and you can decide just to take core and that shouldn't be larger than 1kb.

    Browser install instructions explains how to create such bundle in few easy steps

提交回复
热议问题