ember-learn / ember-learn/guides-source

[Disco]: recommending on{event} instead of on-modifier

Open
#2,009 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
161
Forks
512
Avg merge
4d 9h
Merged PRs (30d)
4

Description

Motivation: https://github.com/krausest/js-framework-benchmark/pull/1608

> It's idiomatic to use `{{on}}` for event listening, and `{{on}}` is the only way to have _conditionally applied_ / dynamic event listeners, but for performance sensitive situations, we can _do less_ by using the platform, and we don't need any cleanup behavior, so native `onclick` should be sufficient.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.