lizuncong/mini-tapable
手撕tapable用法及源码。知识点涉及发布订阅模式,参数的多态性,new Function动态生成函数的方案。如何实现自己的tapable。自实现的mini-tapable和官方tapable执行效率的比较。经试验,mini-tapable执行效率比tapable还高,因此tapable做的优化真的有用吗?
JavaScript
Stargazers
- ahshan-tengGuangzhou,China
- AimWhyDidi
- balaroth
- CarolineJason
- cca313China
- changqingniubi
- ChenXplorer
- douhaoi
- frontStudent
- GadflyXyipitdata
- hjiog
- leehave
- Loving-Vincent
- ltaoo
- lzy19926
- maolovecodingShanghai University of Electric Power
- Mica-MaZTO
- pengsmile
- ranyue
- ResultLee
- rookiewxyxtkj
- Sliect
- tab-t
- Tangjj1996shanghai
- tonghuitopfe
- wangzhenlalala
- zenglincientCanton China
- ziveenGuangzhou
- zuopf769meituan