Skip to content

Instantly share code, notes, and snippets.

@alexlafroscia
alexlafroscia / rock-and-roll-ember-interview-questions.md
Last active Jan 9, 2021 — forked from balinterdi/rock-and-roll-ember-interview-questions.md
The Rock & Roll with Ember band – Interview questions
View rock-and-roll-ember-interview-questions.md

These are the questions that can serve as a guide for the interview. You don't have to religiously adhere to them, though, so feel free to skip any or even come up with others you'd like to answer.

The easiest way for me to compose the interviews would be for you to fork this gist, add your name and your answers to the questions (right below each question) and send me the link to your gist.

Alex LaFroscia

1. Could you introduce yourself in a few sentences?

My name is Alex LaFroscia, and I am a Front-End Infrastructure engineer living in Pittsburgh PA. I have worked on teams using Ember.js since 2012, from big names like Netflix and Google to little start-ups. These days I work remotely full-time for a company called Movable Ink, based in New York City.

View components.text-input\.js
import Component from '@glimmer/component';
export default class extends Component {
}
View components.attrs-first\.js
import Component from '@glimmer/component';
export default class extends Component {
}
@alexlafroscia
alexlafroscia / components.render-node\.js
Last active Aug 19, 2020
Nested Tree with One Component
View components.render-node\.js
import Component from '@glimmer/component';
export default class extends Component {
}
View controllers.application\.js
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}
View controllers.application\.js
import Controller from '@ember/controller';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
}
@alexlafroscia
alexlafroscia / controllers.application\.js
Last active Jul 13, 2020
Tracking Component Arguments
View controllers.application\.js
import Controller from '@ember/controller';
import { tracked, TrackedObject } from 'tracked-built-ins';
import { action } from '@ember/object';
class Container {
@tracked options;
constructor(options = {}) {
this.options = options;
}
View controllers.application\.js
import Controller from '@ember/controller';
import { action } from '@ember/object';
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';
src = "https://github.com";
@action notifyInsertionSrc(element) {
alert(element.src);
View controllers.application\.js
import Controller from '@ember/controller';
import { timeout } from "ember-concurrency";
import { task, lastValue } from "ember-concurrency-decorators";
export default class ApplicationController extends Controller {
wasCalled = false;
@lastValue('myTask') value = "Not Yet Started";
@task myTask = function* () {
@alexlafroscia
alexlafroscia / controllers.application\.js
Created Apr 17, 2020
ember-changeset changes CP bug
View controllers.application\.js
import Controller from '@ember/controller';
import { action, computed } from '@ember/object';
import { Changeset } from 'ember-changeset';
class User {
name = '';
}
export default class ApplicationController extends Controller {
appName = 'Ember Twiddle';