Wednesday, April 24, 2024
HomeJavaScriptThe Ember Occasions - Challenge No. 159

The Ember Occasions – Challenge No. 159


👋 Emberistas! 🐹

Group addon updates: secure model of ember-bootstrap v4 launched 💥, and take a look at ember-dayjs-helpers 🕰️!


Simon Ihmig (@simonihmig) introduced the secure launch of ember-bootstrap v4, tweeting that it is one other step towards a full Octane refactoring! Glimmer elements are coming subsequent.

Bootstrap customers can take a look at the complete checklist of modifications within the changelog. For breaking modifications, give ember-bootstrap-codemods a attempt. We’re appreciative of all of the codemods within the Ember group!

Not accustomed to ember-bootstrap? It is an Ember CLI addon that gives a set of Ember elements that mimic the authentic Bootstrap plugins and elements in an Ember-friendly method, changing the necessity for bootstrap.js. For more information, take a look at the web site and the corresponding repo.


Rajasegar Chandran (@rajasegar) created the ember-dayjs-helpers library which incorporates over 30+ template helpers primarily based on day.js, a quick 2kB different to Second.js with the identical fashionable API.

In your templates, you may simply use day.js APIs utilizing the supplied helpers. For instance, you should use the {{day-js}} helper to show the present date or format a date supplied.

{{day-js}} => Show right this moment's date
{{day-js date='2019-01-25' format='DD-MM-YYYY'}} => 25-01-2019
{{day-js date='2019-01-25' format='DD MMMM YYYY'}} => 25 January 2019

Take a look at the complete venture with the checklist of helpers supplied on GitHub!


This week we might wish to thank @amyrlam, @bmish, @chriskrycho, @chrisrng, @dcyriller, @ghedamat, @ijlee2, @krisselden, @locks, @mehulkar, @miguelverissimo, @nickschot, @pzuraq, @rwjblue, @snewcomer, @tashvaqa 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 individual brief and candy query underneath bit.ly/ask-ember-core. And don’t fear, there aren’t any foolish questions, we recognize all of them – promise! 🤞

Wish to write for the Ember Occasions? Have a suggestion for subsequent week’s concern? Be a 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 occurring in Emberland this week by subscribing to our e-mail e-newsletter! It’s also possible to discover our posts on the Ember weblog.


That is one other wrap! ✨

Be sort,

Chris Ng, Amy Lam, and the Studying Workforce



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments