Skip to content

[RFC]: loader 阶段怎么执行hook  #130

@JerrysShan

Description

@JerrysShan

背景: 现在 scan 扫描的结果每个都是单个 item ,导致想要执行一些 hook 操作的时候不知道在哪个时机触发,例如想要 config 文件加载前执行 'configWillLoad' ,加载完之后触发 'configDidLoad' 。

目前能想到的解决方案就是对 scan 扫描结果进行归类,但是这个方案之前被否过,针对这个问题大家看看有没有什么好的解决方案

@hyj1991 @noahziheng @DuanPengfei

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions