Skip to content

Instantly share code, notes, and snippets.

import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
import { action } from '@ember/object';
export default class extends Component {
name = "James";
get greeting() {
return `Hello ${this.name}`;
}
import Component from '@glimmer/component';
import { tracked } from '@glimmer/tracking';
import { action } from '@ember/object';
export default class extends Component {
@tracked name = "James";
get greeting() {
return `Hello ${this.name}`;
}
import Ember from 'ember';
export default Ember.Component.extend({
value: 'foo',
deferredValue: Ember.computed.oneWay('value'),
didInsertElement() {
this.set('deferredValue', 'bar');
},
@jmar910
jmar910 / ember-talk.md
Last active April 26, 2017 13:40
A component focused overview of Ember

autoscale: true slidenumbers: true

Ember for all your client-side needs

James Martinez


original fit

import Ember from 'ember';
export default Ember.Component.extend({
});