Monday, July 1, 2024
HomeJavaScriptThe Ember Instances - Problem No. 79

The Ember Instances – Problem No. 79


Blein Vie Noa, Emberistas! 🐹🎆🎇

The brand new yr begins off with a great deal of new RFCs! Learn extra about prompt deprecations of Route render strategies and chosen ApplicationController properties 🈸! We even have a brand new RFC for a model new look of emberjs.com, efficiency enhancements 🏎 for the API Docs search, a brand new beta launch of ember-cli-babel and a complicated testing examination for you!


The official Ember web site is due for a brand new feel and look. That’s the reason a new RFC proposes a fully new look 💅 for emberjs.com. A aspect impact of not having up to date the appear and feel of the web site for some years is that for individuals who aren’t concerned within the day-to-day of Ember improvement, it’s straightforward to overlook simply how properly the framework has stored up over time.

The redesign goals to modernize, replace and enhance all of the issues on the web site in order that the impression given to most of the people matches actuality.

There’s already dialogue happening within the RFC remark part, and we might love to listen to your ideas as properly.


Do you bear in mind Route.render() and Route.renderTemplate()? You may not. Actually, these route strategies have been much less and fewer emphasised within the Ember studying story and are usually not even talked about within the Ember Guides anymore. Though these APIs had been helpful prior to now, these days a component-focussed method permits Ember builders to omit them solely.

Subsequently, a new RFC suggests the deprecation of Route#render and Route#renderTemplate. You possibly can learn extra in regards to the motivation behind it and how you can substitute these strategies in your software in the unique proposal.

Questions? Solutions? Go away them proper within the feedback part of the RFC!


With the introduction of the Router Service it has been simpler than ever to verify on present app state, e.g. the identify of the lively route, anyplace in your software. This additionally implies that the present ApplicationController#currentPath and ApplicationController#currentRouteName API has turn out to be out of date.

A new RFC proposes the deprecation of those plentiful properties sooner or later. Make sure to let your ideas identified within the proposal’s feedback part!


Algolia search improvements

The combination with our search supplier, Algolia that powers each Ember Guides and Ember API Docs has now turn out to be much more performant!

The work from our mates at Algolia unlocked a efficiency increase of the API docs search by as excessive as 285% for some international locations in Europe! The map exhibits knowledge facilities the place the API docs are presently saved and (on the fitting) the efficiency enchancment for the highest looking international locations.


@pzuraq just lately introduced the discharge of ember-cli-babel@v7.3.0-beta.1!

The plugin ember-cli-babel makes use of Babel and babel-preset-env to permit us to make use of ES6 syntax inside our Ember CLI mission.

With the 7.3.0 beta launch, the includeExternalHelpers possibility is now obtainable. This selection controls deduplicating the default Babel helper capabilities by placing them in a shared module and decreasing the payload measurement.

To learn extra on the includeExternalHelpers try the docs!


Ember’s testing story already makes testing extremely approachable to builders, however what if it might convey much more to the desk proper from the beginning? Think about having the ability to pace up your check suite with parallel testing or operating assessments in randomized order with an ember check command in your app.

A brand new RFC proposes an replace to the testing default in Ember apps and addons by offering ember-exam – an Ember addon builders can already use for superior testing methods – constructed into Ember’s testing setup.

Make sure to learn the complete proposal and depart your ideas within the feedback beneath!


This week we might prefer to thank @zeppelin, @Turbo87, @jamesgeorge007, @ppcano, @rwjblue, @chrisrng, @jessica-jordan, @mschinis, @kennethlarsen, @nummi, @rwwagner90 and @mixonic for his or her contributions to Ember and associated repositories! 💖


Office Hours Tomster Mascot

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

Submit your personal brief and candy query underneath bit.ly/ask-ember-core. And don’t fear, there are not any foolish questions, we respect all of them – promise! 🤞


Wish to write for the Ember Instances? Have a suggestion for subsequent week’s subject? Be part of us at #support-ember-times on the Ember Neighborhood 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.


That is one other wrap! ✨

Be variety,

Chris Ng, Jessica Jordan, Kenneth Larsen, Michael Schinis and the Studying Staff



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments