Friday, April 26, 2024
HomeJavaScriptThe Ember Occasions - Problem No. 166

The Ember Occasions – Problem No. 166


👋 Emberistas! 🐹

New RFC to Deprecate transition strategies of Controller and Route ✍️,
be taught what’s new within the Ember 3.22 launch 🎉
learn the weblog put up on React element patterns in Ember ⚛️,
Glimmer VM monitoring video 📹,
Deprecate tryInvoke RFC enters Remaining Remark Interval 📜,
EmberMap Octane conversion video 📼,
and final, however not least, constructed with Ember: Emojible 🥳!


Jeldrik Hanschke (@jelhan) proposed a brand new RFC to Deprecate transition strategies of Controller and Route to be able to cut back public API uncovered associated to routing.

The RFC goals to deprecate the strategies transitionTo and replaceWith of the Route object and the strategies transitionToRoute and replaceRoute of the Controller object. The present strategies transitionTo and replaceWith of the RouterService object must be used as a substitute.

The RFC proposes that the prevailing strategies are right now not documented correctly so there are possible timing variations between the completely different routing calls even when from the skin they operate the identical. Supporting alternative ways to do the identical will increase complexity with out offering a lot worth and limiting choices will make studying the framework simpler for brand new builders.

Learn and touch upon the full RFC on GitHub!


The Ember Weblog introduced the v3.22 releases of Ember.js, Ember Knowledge, and Ember CLI. There have been a bunch of bug fixes throughout the board, one deprecation for Ember Knowledge and several other new options for Ember.js.

The discharge of model 3.22 launched some new options you might have considered trying to pay attention to in Ember.js:

  1. Enabled @ember/destroyable API, which lets you create and handle your personal destroyables. For extra data, please see the Destroyables RFC.
  2. Enabled Cache API, a low-level primitive for memoizing the results of a operate based mostly on autotracking. (You’ll be able to set up a polyfill for apps between variations 3.13 and three.21.) For extra data, please examine the Ember Guides and Autotracking Memoization RFC.
  3. Allowed passing the transition object to 2 route hooks, activate and deactivate.

Moreover, Ember Knowledge 3.22 launched a deprecation to be used of najax in favor of ember-fetch when fastboot is put in. And for brand new apps, Ember CLI 3.22 will set up v9 or larger of eslint-plugin-ember, which can restrict the model of Node that you just use.

The discharge additionally kicked off the three.23 beta cycle. Should you can, please assist with testing beta builds and reporting bugs earlier than model 3.23.0 is revealed!


Michael Klein (@LevelbossMike) wrote a weblog put up evaluating fashionable Ember with React. Whereas not an skilled on React, Michael goes by how React tackles challenges when implementing SPAs. The weblog goes by 3 completely different element patterns: Compound Element Sample, Versatile Compound Element Sample, and Supplier Sample – to see how every one is carried out in React and Ember.

The weblog argues that the Octane Version of Ember offers conventions that provide help to fall into the pit of success as a substitute of solely providing you with low-level primitives to resolve widespread challenges in a mess of the way with completely different tradeoffs that solely appear to be apparent to individuals which can be specialists in React.

Learn the total weblog put up the place Michael compares every sample with code samples within the Efficient Ember weblog!


We have had some good weblog posts as regards to monitoring in Octane lately, however for those who’ve been questioning about how monitoring works within the ✨✨Glimmer VM✨✨ and also you be taught higher by audio visible 🔊📼 strategies, you could wish to take a look at the video on YouTube that Chris Krycho (@chriskrycho) and Chris Garrett (@pzuraq) put out originally of September on the topic.

It is a very good alternative to look at and hear to 2 framework contributors talk about the internals of monitoring within the Glimmer VM – we hope they put out one other one quickly!


Bach Vo (@bachvo) created a brand new RFC to deprecate tryInvoke, and we lined this just a few weeks again.

Chances are you’ll recall that this RFC builds on high of the earlier RFC to deprecate getWithDefault.

Effectively this newer RFC has simply entered Remaining Remark Interval, so it’s best to head on over to the RFC and supply your ideas when you nonetheless can.


The great of us over at EmberMap are kicking off a brand new video sequence lead by Lindsay Cade (@cadeParade) on changing to Octane and the first look video is out now 🎉!

The video covers how you can convert an Ember Mannequin to native class syntax and it’s 💸 free 💸, so go watch the primary in what is certain to be an superior sequence of movies on Octane conversions!


We’re huge followers of emojis right here at The Ember Occasions. With Emojible, now you possibly can create your personal emojis! Present everybody how you actually really feel! Save your customized emojis and use them on Slack, Telegram, Sign, or anyplace you wish to add some aptitude. From the announcement on Twitter, we realized that the location was constructed with Ember.js! Superior to see Ember on such a enjoyable mission. Might we recommend a Tomster face within the subsequent launch?!


This week we might prefer to thank @34Johnny69, @69LaudaLassan69, Axel Uriel Martínez Castillo (@ackzell), Amy Lam (@amyrlam), Andrei Sebastian Cîmpean (@andreisebastianc), Andrii Tykhan (@AndriyTykhan), Aaron Ok Redshaw (@aredshaw), Jonathan Haines (@BarryThePenguin), Jan Bobisud (@bobisjan), Braden Lawrence (@BradenLawrence), John Ryan (@cah-johnryan), Oscar Choque (@cechus), Godfrey Chan (@chancancode), Chirag Patel (@chiragpat), Chris Krycho (@chriskrycho), Chris Ng (@chrisrng), Chris van der Ploeg (@chrisvdp), Deepak Panda (@DeepakPanda02), Jordan Hawker (@elwayman02), Fabrício Tavares (@fabriciotav), Fletcher Rippon (@fletcherrippon), Tim (@fozy81), Gonçalo Morais (@gnclmorais), Humphrey Butau (@hbutau), Harsh Verma (@hverma73), Yyee (@Ian-Yy), Isaac Lee (@ijlee2), @JamesS-M, Jared Galanis (@jaredgalanis), John Bryson (@jbryson3), Jivthesh M R (@jivthesh), @Jogius, Jayvic San Antonio (@jpsanantonio), Katie Gengler (@kategengler), Kelly Selden (@kellyselden), Dave Laird (@kiwiupover), Ricardo Mendes (@locks), Luis Vegerano (@lvegerano), Chris Manson (@mansona), Manu Ram Pandit (@manurampandit), Mateus Alexandre (@mateusalexandre), maxwondercorn (@maxwondercorn), Marie Goetzke (@mgoetzke), Michał Staśkiewicz (@mikoscz), mo3taz1705 (@mo3taz1705), Aleksey Nagovitsyn (@nag5000), Michał Antropik (@Nelias), Joan Piedra (@neojp), Russell Tepper (@NoneOfMaster), @NullVoxPopuli, Chris Garrett (@pzuraq), Raido Kuli (@raido), @richgt, Wayne Ritchie (@Rockin4Life33), Paul Kuruvilla (@rohitpaulk), Volodymyr Radchenko (@rreckonerr), Robert Jackson (@rwjblue), Robert Harężlak (@Rxbsxn), Steve Calvert (@scalvert), Simon Dahlbacka (@sdahlbac), Scott Newcomer (@snewcomer), Taksh Chanana (@takshch), Mohammed Tahir (@tmdtahir21), Vedant Shrivastava (@Vedant-S), Leah Silber (@wifelette), and @zinovik 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 below bit.ly/ask-ember-core. And don’t fear, there are not any foolish questions, we respect all of them – promise! 🤞

P.S. Did we miss your previous Readers’ Query? We have added a brand new non-obligatory subject to incorporate your contact data, in case we’d like some clarification to reply your query in an upcoming challenge. Please chat with us at #support-ember-times on the Ember Group Discord or ping us @embertimes on Twitter. As all the time, be a part of us on Discord if you would like wish to write for the Ember Occasions or have a suggestion for subsequent week’s challenge!

Carry on high of what is been happening in Emberland this week by subscribing to our e-mail e-newsletter! You too can discover our posts on the Ember weblog.


That is one other wrap! ✨

Be form,

Chris Ng, Amy Lam, Jared Galanis and the Studying Crew



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments