Monday, May 6, 2024
HomeJavaScriptThe Ember Occasions - Difficulty No. 171

The Ember Occasions – Difficulty No. 171


👋 Emberistas! 🐹

Audio system wished for EmberConf 2021 📆,
Ember 3.24 launch 🙌,
learn the weblog on understanding args in Glimmer parts ✍️,
saying the launch of the redesigned Ember Weblog 📝,
5 RFCs for Ember 4.0 milestone 💬,
and final, however not least,
micro-frontends with Glimmer.js and single-spa 🔥!


This yr’s EmberConf has been introduced to happen March 29-30, 2021! EmberConf is 2 days of Ember talks, classes and enjoyable — streaming reside just about anyplace. Need to give a chat at EmberConf? We’re now accepting proposals.

EmberConf is nice as a result of our audio system are nice, and you could possibly be one among them. The Name for Papers (CFP) is public, begins out blind, and contains a collaborative course of to assist candidates enhance their proposals. Proposals will likely be accepted by means of January thirty first at 11:59pm PT. Study extra on the EmberConf 2021 CFP web site.

There are a number of choices for talks this yr. Convention talks may be 30, 15, 10, or 5 minutes whole. Have a chat thought? The EmberConf workforce will likely be voting on and reviewing talks on a rolling foundation, and can try to ship suggestions ahead of their closing analysis. The sooner you submit, the extra probability you will should tweak your pitch and enhance your odds. Feels like a superb plan for this weekend then?! 📝


Model 3.24 of Ember.js, Ember Knowledge, and Ember CLI was launched on January 7, 2021! Please use the ember-try addon to constantly check your tasks in opposition to the most recent Ember releases.

Ember.js 3.24 included blueprint modifications when ember-page-title is put in, interface modifications to DeprecationOptions requiring the keys for and since when utilizing deprecate(), and up to date the Glimmer VM to model 0.65.0.

The operate tryInvoke from @ember/utils module has been deprecated in favor of JavaScript’s optionally available chaining ?. There have additionally been varied deprecations for Ember.String strategies together with the Ember.String.loc operate. Please verify the Deprecations information for the complete info.

Ember Knowledge 3.24 included a repair the place an try to set one thing on a deleted file not exhibits the worth within the error message in a manufacturing setting. This was performed to stop leaking delicate information.

Ember CLI 3.24 upgraded the packages which are current within the package deal.json blueprint to their newest model which included a serious model modifications for ember-qunit to v5 and eslint-plugin-ember to v10. The addon ember-page-title was additionally added to the blueprint. Lastly prettier (together with eslint-config-prettier and eslint-plugin-prettier) was additionally added to the blueprint from RFC #628.

Learn the complete Ember 3.24 launch notes for the whole info.


Chris Krycho (@chriskrycho) wrote a weblog put up on understanding args in Glimmer parts with a give attention to what occurs when there are updates to args.

Chris explains how a Glimmer part works for those who strip away all of the reactivity and solely do a single go. The Glimmer part API units the args object on to the category within the constructor. The args object in a Glimmer part can be read-only since it’s a non-public class area whereas uncovered with a getter.

class Part {
  #args: object;
  get args() {
    return this.#args;
  }

  constructor(args: object) {
    this.#args = args;
  }
}

The weblog recommends to by no means assign from a property on args to a neighborhood class area in a Glimmer part as a result of modifications to the mum or dad won’t ever be mirrored within the part. It is best to as a substitute use getters which are re-computed when invoked.

Learn the complete weblog put up on Chris’s weblog.


The Ember Weblog has a brand new look and a brand new codebase!
The Ember Weblog was began 8 years in the past, in 2012. For a few years, it was a customized Ruby app
that was primarily used for launch weblog posts.
At the moment, the weblog is the house for The Ember Occasions,
launch bulletins, guest-written studying articles, and extra,
so a gaggle of devoted contributors got down to make some enhancements.
The weblog is now an Ember app, and beneath the hood, it makes use of the identical tech
that powers the Ember Guides, Empress.
Empress instruments assist flip markdown into HTML inside an Ember app,
which means that articles are fast to write down utilizing Markdown, and contributors
can use all the good instruments that Ember has to supply.

Please take a look at the weblog at this time! Many due to the contributors who labored on this undertaking! 👏

Did you see any points? Need to assist construct future options?
You’ll find the principle repository at
ember-learn/ember-blog on GitHub.
Most types and parts come from the shared part library that every one Ember’s public websites use,
ember-styleguide.
The empress-blog-ember-template
has a number of the format logic that’s particular to this weblog,
and empress-blog handles the overall utility code for routing and information requests for blogs usually.

When you like what you see, you may make your personal weblog utilizing Empress in about 10 minutes!


The Ember Core Staff has been working arduous on paving approach for Ember 4.0 launch. This week on January sixteenth, 4 RFCs have been merged, and 5 RFCs entered the Ultimate Remark Interval.

At the moment, a complete of 5 RFCs are open beneath the 4.0 milestone:

Take a look on the excellent RFCs once you discover time. Please be happy to share the hyperlinks with different builders and take part within the RFCs by offering suggestions! 🌟


There may be one other nice new Glimmer-focused weblog put up from Rajasegar Chandran (@rajasegar) about how you can make Micro-Frontends with Glimmer.js and single-spa!

If you have not been following alongside, Rajasegar has revealed a variety of improbable posts on dev.to, a lot of which contain Glimmer.js.

This new put up seems at utilizing the single-spa library to buld micro-frontends with Glimmer.

Single-spa is a JavaScript router for front-end microservices that permits you to use a number of frameworks in a single-page utility. For the combination with Glimmer, Rajasegar has revealed a single-spa plugin that facilitates injecting a number of super-fast Glimmer apps right into a single web page, one thing which isn’t in any other case attainable.

This setup is all fairly experimental and cutting-edge, but it surely does exhibit the pliability of Glimmer, and what you are able to do with it when you’ve got very particular use circumstances.

Verify this nice put up out and search for extra nice Glimmer content material from Rajasegar sooner or later!


This week we might wish to thank Melanie Sumner (@MelSumner), Chad Hietala (@chadhietala), Chirag Patel (@chiragpat), Chris Ng (@chrisrng), Scott Newcomer (@snewcomer), Tim (@fozy81), Derek Wickern (@dwickern), Isaac Lee (@ijlee2), Ilya Radchenko (@knownasilya), Katie Gengler (@kategengler), Bryan Mishkin (@bmish), Jen Weber (@jenweber), Jeff Daley (@jeffdaley), Jared Galanis (@jaredgalanis), John Derr (@jderr-mx), Ricardo Mendes (@locks), Cyrille David (@dcyriller), Robert Jackson (@rwjblue), Pawel Kuwik (@czikarito), Nick Schot (@nickschot), Alon Bukai (@Alonski), Chris Garrett (@pzuraq), @sandstrom, Robert Wagner (@rwwagner90), Kenneth Larsen (@kennethlarsen), Godfrey Chan (@chancancode), Daniel (@genisd), Thomas Wang (@xg-wang), Amy Lam (@amyrlam), @NullVoxPopuli, James Herdman (@jherdman), and Bert De Block (@bertdeblock) for his or her contributions to Ember and associated repositories! 💖


Office Hours Tomster Mascot

Questioning about one thing associated to Ember, Ember Knowledge, Glimmer, or addons within the Ember ecosystem, however do not know the place to ask? Readers’ Questions are only for you!

Submit your personal quick and candy query beneath bit.ly/ask-ember-core. And don’t fear, there aren’t any foolish questions, we admire all of them – promise! 🤞

Need to write for the Ember Occasions? Have a suggestion for subsequent week’s problem? Be part of us at #support-ember-times on the Ember Group Discord or ping us @embertimes on Twitter.

Carry on high of what is been happening in Emberland this week by subscribing to our e-mail publication! You may also discover our posts on the Ember weblog. See you in two weeks!


That is one other wrap! ✨

Be type,

Chris Ng, Jen Weber, Amy Lam, Isaac Lee, Jared Galanis and the Studying Staff



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments