wzhudev / redi

💉 A dependency injection library for TypeScript & JavaScript, along with a binding for React.
https://redi.wendell.fun
MIT License
104 stars 17 forks source link

异步依赖项的设计是如何考虑的呢 #30

Open hehos opened 1 month ago

hehos commented 1 month ago
image

这样的设计是处于什么考虑呢?为什么要这样加上一个标识呢?

image

为什么不这样直接一点呢?