In 1 Year
In 1 Year
github.com/ijlee2
in_increments_in_increments
de_the_right_code_the_right_
ation_solid_foundation_solid
together_solving_together_so
_future_is_now_future_is_now
1
in
increments
Mission impossible.
1*
code
metrics
You rated me a six. I was like, “Damn.”
- Janelle Monáe
2
the right
code
Everybody will be dancing and be doing it right.
- Daft Punk
the right code
• Separates concerns
• Depends on few
2a
… has
minimum API
The best code is no code.
API
consumer reusable
github.com/ijlee2/ember-workshop
de.wikipedia.org/wiki/Eierlegende_Wollmilchsau
minimization
github.com/ijlee2/ember-workshop
accessibility
test selectors
github.com/ijlee2/ember-workshop
data & translations accessibility
github.com/ijlee2/ember-workshop
named blocks
File: A reusable component that consumes <Ui::Form::Field>
…attributes
File: A consumer of <Ui::Action>
2c
… depends
on few
You’ve got the remedy and I need it.
- French 79
stable
• Easy-to-follow code
• Tested
• --cache, concurrently
• Standardized configurations
• @tsconfig/ember
• eslint-plugin-simple-import-sort
• eslint-plugin-typescript-sort-keys
• stylelint-order
leaf nodes
main app
leaf nodes
main app
leaf nodes
main app
bypass CI
"scripts": {
}
3b
spotting
blockers
Some blockers are more equal than others.
deprecation workflow
File: config/deprecation-workflow.js
github.com/mixonic/ember-cli-deprecation-workflow
deprecations
• implicit-injections (v4)
• this-property-fallback (v4)
• routing.transition-methods (v5)
deprecations.emberjs.com
packages
• ember-auto-import (v2)
• ember-modifier (v3.2.7)
• ember-template-lint (v5)
• eslint (v8)
• typescript (v4.8.2)
3c
short
(re)build
Gotta go fast.
- A hedgehog
tackle build
• Combine packages
• Write tests
• Rename things
• Extract functions
Get started:
Get started:
blueprint-for-v2-addon ember-codemod-
(CLARK internal) args-to-signature
ember-codemod- ember-codemod-
pod-to-octane remove-ember-css-modules
ember-codemod-
type-css-modules
v1-to-v2
github.com/ijlee2/codemod-utils
@codemod-utils
Get started:
github.com/ijlee2/codemod-utils
4c
different
perspectives
I think I understand you but I don’t.
- OK Go
zdf.de/kultur - Sag’s mir, Unter Anderen, 13 Fragen
5
future
is now
Bending time.
- Bender Bending Rodríguez
polyfills
• ember-angle-bracket-invocation-polyfill
• ember-cached-decorator-polyfill
• ember-functions-as-helper-polyfill
• ember-in-element-polyfill
• ember-named-blocks-polyfill
• ember-on-modifier
• ember-unique-id-helper-polyfill
v1 addons
• Enable embroider-safe
• Introduced embroider-css-modules
github.com/ijlee2