Привет, Эмберисты! Hello, Emberistas! 🐹
Help improve Ember's autotracking and reactivity system 💬, read the new test waiters RFC ⏳, optimize your app with Ember Data 📈, the Russian Ember community 🇷🇺, and learn about powerful debugging at EmberConf 💻!
To help address some shortcomings, Chris Garrett (@pzuraq) proposed introducing the decorators and classes listed below. We encourage you to participate in RFCs and provide feedback!
Unlike computed properties, autotracked getters don't cache their values.
@memo will let you opt in to memoization.
@use API will leverage autotracking to solve two issues:
- Allow Glimmer components to define a behavior with its own lifecycle, independently of the template
- Provide a standard way to mix declarative and imperative code
TrackedList will autotrack changes to arrays. This class, designed to replace
EmberArray, will follow the native array API closely and be performant.
TrackedSet, along with their weak analogs, will autotrack changes to maps and sets (dynamic collections of values). These classes will follow the native APIs exactly.
The new test waiter system will provide a few benefits:
- A new API that removes the existing foot guns given we will be more explicit when declaring the start and end of the waiter through the waiter
- A more robust way to gather debugging information for the test waiter since the waiter is identifiable by the name provided
- Default test waiters with the ability to author your own, more complex test waiters through annotating the asynchronous operations in your code base that are not tracked by an
Share your thoughts, feedback, and requests on the New Test Waiters RFC!
Chris Thoburn (@runspired) is blogging about how to build and optimize an app with Ember Data. You'll start by building an app, Listicle. Listicle starts as a small app shell with rich content lists, but balloons in size over time. Build times slow to a crawl as a result.
At the beginning of the series, Listicle builds and renders in greater than 5 seconds. But as the posts progress, you'll end with an app with builds and renders in less than 1 second by optimizing only the app's data management! Then for fun, you'll optimize the render.
Habr.com is a popular geek media site among Russian developers. It's somewhat similar to Hacker News, except that it's populated by user-submitted articles instead of links. Iaroslav Popov (@chilicoder) recognized a shortage of Ember articles on Habr.com and recently started translating our very own Ember Times (Issue #129, Issue #130) on Habr.com, as well as Octane is Here and Super Rentals tutorial - Part 1!
@chilicoder also mentioned to check out the Ember telegram channel, moderated by Alex Kanunnikov (@lifeart). It's one of the best ways to get help with Ember in Russian, and they welcome everyone to join! Thank you both for your help in fostering the Russian Ember community!
You've undoubtedly heard her talk about creating progressive web applications with Ember
and bulletproof addon testing before, but now Samanta de Barros (@sdebarros)
At this year's EmberConf she's going to teach us about The Power of Debugging; which tools you can use to track down bugs swiftly in development and production environments, and how you can find your way around Ember's architecture while doing so.
In an exclusive interview with The Ember Times, Samanta shares with us, what makes debugging tools and strategies so powerful when developing Ember applications:
I think learning about debugging techniques is important. Mostly, because it will help you to have a better time finding bugs and even how an app works. In part I think it’s necessary because it will help you on your job!
What's our experience like when we start to learn more about debugging strategies? Here, Samanta can share from both her own experience and from those she worked together with:
When you are pairing with someone or you’re trying to solve an issue, you often run into something and it makes people go like: “Oh, that’s interesting!” When I’ve seen other people’s talks or see them working, I see that they have some tips about things that I don’t know about yet and that’s cool! You realise that there are a lot of tools that make working with the frontend easier.
People who learn more about debugging usually say: “Oh yeah, that’s cool, that really simplifies these tasks I need to do” or “Oh, I didn’t know you could find that information there in the app.”
EmberConf is a unique experience, one that you and your team should definitely not miss out on. Samanta shares her perspective on what makes the conference
I think it’s a different experience when you go to a conference as a speaker or as attendee. When you just go to listen to the talks, you get a lot of inspiration, you discover things that people are you doing that you might not do yet and it sparks something in you that makes you want to learn something new or improve something in your job. […]
I would say both getting inspiration and connecting are the nicest things about EmberConf. If I had to recommend anything to an attendee, I’d say: “Just go and ask questions to the other attendees or speakers.” Just listening to the talks is good enough, but the chance to connect with others makes the conference really great.
If you want to learn more about successfully debugging Ember apps, join more than 800 other Ember developers at EmberConf in Portland, OR from March 16 - 18, 2020. Prices for regular attendee tickets start from $449, so don't hesitate to register today!
This week we'd like to thank @bobisjan, @pzuraq, @locks, @mjanjic01, @runspired, @igorT, @dmuneras, @mixonic, @chancancode, @nummi, @efx, @josemarluedke, @mansona, @pichfl, @skaterdav85, @jenweber, @mcfiredrill, @tomdale, @conormag, @rwjblue, @Turbo87, @stefanpenner, @xg-wang for their contributions to Ember and related repositories! 💖
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, Amy Lam, Isaac Lee, Jessica Jordan and the Learning Team