Skip to content

[IMPROVEMENT] renaming hook addHook method #966

@georgehristov

Description

@georgehristov

I find the hook methods (hook and addHook) a bit confusing for newcomers.

How about renaming the addHook to onHook (keeping BC) to make it more intuitive?
IMHO this would improve the DX.

If agreed with the change you can assign me to that issue.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions