`{{on 'click'}}` vs onclick

Open
#172 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
documentation

Research direction

Find the page or example that discusses onclick and compare its guidance with Ember RFC 1007. Clarify that {{on 'click'}} is generally safer while onclick is not inherently wrong when used knowingly; done means the page presents that distinction accurately.

Written by the indexing model from the issue text.

Description

tl;dr: it's safer to use the {{on}} modifier, but if you know what you're doing there is nothing inherently wrong with onclick

see: https://github.com/emberjs/rfcs/pull/1007

Dominant language
JavaScript
Stars
1
Forks
4
Avg merge
8h 59m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NullVoxPopuli/website

All issues in NullVoxPopuli/website

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.