हॅलो Emberistas! 🐹
This week: submit to the Ember Camp Chicago CfP 🌭, celebration of 55 posts for #EmberJS2019 🎉, unravel the mystery of Ember testing syntax 💡, examine alternatives to the input helper 🤔, watch the Visual Regression Testing Made Easy talk video 📺, more expressive dependency injection ⬅️, and clean out unused components from your 🐹 app!
The EmberCamp Chicago CfP is open until June 30th. If you are interested in doing a talk, mini-talk, activity, workshop, or keynote, please submit soon!
Over the last few weeks, we saw 55 blog posts, GitHub Gists, and tweets that described how Ember can continue to innovate in 2019. We thank everyone for participating, by writing a post, replying to one, and discussing it online or on podcasts. Please feel free to continue to write your #EmberJS2019 post even after the deadline. 💖
This week's authors include @ondrejsevcik, @michaelrkn, @mansona, @machty, @sarbbottam, @tschoartschi, @dcyriller, @rajasegar, @Alonski, @josemarluedke, @elwayman02, @acorncom, @kenigbolo, @rwwagner90, @toddjordan, @scalvert, @dustinsoftware, @knownasilya, @runspired, @0xadada, @chriskrycho, and @neojp.
@sarbbottam recalls how the new testing syntax had improved his productivity remarkably. Sarbbottam, who has been making notes on testing since, graciously shared them with the whole community last week. 💯
Learn more today about:
- Writing different types of tests (unit, integration, and acceptance)
- Running tests
- Stubbing dependencies
We encourage you to check out Sarbbottam's guide and share it with developers that you know! 💛
@patocallaghan gave a lightning talk on “Visual Regression Testing Made Easy” at the April 2019 DublinJS Meetup. In his talk, Pat used Percy to scale visual regression testing from a manual to an automated workflow. You can catch potential CSS bugs, remove certain types of tests, and deal with large refactors and migrations. “Styles can sometimes make bad things happen.” Percy gives you confidence when you make big changes.
Check out the full lightning talk video just published this week!
The recent Request for Comments (RFC), titled "Explicit Service Injection," proposes an update to the way services and other dependencies are registered, looked up and injected in Ember apps. The proposal argues that a class-based syntax for dependency injection is more explicit than the current string-based API and therefore preferable.
If you'd like to learn more about the new API design that is proposed in the RFC, be sure to read the original proposal and do not forget to join the discussion in the comments!
Finding components that aren't used in your application anymore can be tough. Due to different ways to invoke components (with curly braces or angle brackets) and the syntactical ambiguity between invoking helpers and components, it takes some time to prune your app from redundant components manually.
But now you can use the brand-new addon Ember Unused Components to clean up your codebase automatically. Use the
--stats flag to get useful reports on the impact of your app optimization efforts as you go. Check it out today!
Wondering about something related to Ember, Ember Data, Glimmer, or addons in the Ember ecosystem, but don't know where to ask? Readers’ Questions are just for you!
Submit your own short and sweet question under bit.ly/ask-ember-core. And don’t worry, there are no silly questions, we appreciate them all - promise! 🤞
That's another wrap! ✨
Chris Ng, Sean Massa, Amy Lam, Isaac Lee, Jessica Jordan and the Learning Team