mediamonks / frontend-coding-standards

Media.Monks - Frontend Coding Standards
60 stars 23 forks source link

Add section about handlers and callback #67

Closed ThijsTyZ closed 2 years ago

ThijsTyZ commented 3 years ago

See https://github.com/mediamonks/frontend-coding-standards/issues/34

psimk commented 3 years ago

The conversation is #34 seems unresolved, are we permitting both handle* and on* or just on* ?

ThijsTyZ commented 3 years ago

The conversation is #34 seems unresolved, are we permitting both handle* and on* or just on* ?

We are only permitting on if this PR is merged. But since this PR isn't merged yet #34 is not resolved

ThijsTyZ commented 3 years ago

I added this extra note in the PR:

Also note that a name of only on + event name might not be descriptive enough, depending on the context. Using a more descriptive name is recommended.