Closed hzwjz closed 2 years ago
add hook util in material-engine package. exports hook util func in material-helper extension.
背景说明:一些团队有物料使用的埋点统计需求,而AppWorks 的 material-helper 没有提供这方面的定制能力。为了补充该能力,同时确保能力的通用性,采用增加 material-helper exports的方式,导出注册hook的方法,供三方扩展注册handler,从而实现对物料使用行为的监听。
改一下 material-engine 和 material-helper 的版本和 changelog
add hook util in material-engine package. exports hook util func in material-helper extension.
背景说明:一些团队有物料使用的埋点统计需求,而AppWorks 的 material-helper 没有提供这方面的定制能力。为了补充该能力,同时确保能力的通用性,采用增加 material-helper exports的方式,导出注册hook的方法,供三方扩展注册handler,从而实现对物料使用行为的监听。