Ember Times-Issue 65

Ahoj humanist! 🐹

In this week’s edition, we will share news about the new 🥒 RFC to be deprecated .property(), An exciting plugin update🚀 for sparkles-component and ember-css-modules, and Ember is a modern framework🎉-tell your friends!

remember .property()?

fullName: computed(function() {
  // ...
}).property('firstName', 'lastName'),

This Modifier in order to Calculated attributes Ember has been around for a long time. Even if the calculated attribute already allows the dependent key to be passed directly as a parameter, for example…

fullName: computed('firstName', 'lastName', function() {
  // ...

…This modifier has not been deprecated.The main obstacle to deprecation is effective use .property(): cp macro needs, such as filter or map They receive a callback function as their parameter.

A kind Brand new 🔥 Request for Comments (RFC) 🚒 It is recommended to use .property For these macros, other redundant APIs are allowed to be discarded.Interested readers can Learn more About the motivation and design of this move In the original proposal.

@rwjblue Released version 1.1.0 Spark component include Typescript Conversion of the library.

sparkles-component is a plug-in for experiment Low light component The style API in the Ember application is through the existing public API.It supports most @glimmer/component The API includes lifecycle hooks (constructor, didInsertElement, didUpdate, destroy), @tracked attributes, ES base classes, and decorator support (with the release of 1.1.0, this supports consumption through TypeScript).

understand more, @rwjblue With @迈克北 Live streaming converts the library from JavaScript to TypeScript.You can watch Real-time replay on Twitch.

Community member @NullVoxPopuli Wrote a summary of his favorite features, showing that Ember is a modern framework and can appeal to those who are looking for all the shiny things.View The EmberJS of the future…today! He discussed here asynchronous lifecycle hooks, component syntax, testing, dependency injection, keyboard accessibility, etc.

salsify/ember-css-modules Due to community bug reports, feature ideas, and pull requests over the past few years, 1.0 has been released! ember-css-modules provides Ember style support CSS module. With this plug-in, styles become first-class citizens with templates and JavaScript, and each component has a CSS file.

This week we want to thank @rwjblue, @toddjordan, @chadhietala, @amyrlam, @chrisrng, @阿隆斯基, @tylerturdenpants, @anehx, @runspired, @balinterdi, @pixelhandler, @dcyriller, @dcombslinkedin, @twokul, @SparshithNR, @quajo, @Gaurav0, @smfoote, @Endangered Massa, @jfdnc with @adityasrini Thanks for their contributions to Ember and related repositories 💖!

Want to know about Ember, Ember Data, Glimmer, or plugins in the Ember ecosystem, but don’t know where to consult? Readers’ questions are only answered for you!

Submit your own Short and sweet problem under bit.ly/ask-ember-coreDon’t worry, there are no stupid questions, we thank them-guaranteed! 🤞

Want to write for Ember Times? Any suggestions for next week’s problem?Join us at #support-ember-times Ember community discord Or ping us @embertimes On Twitter.

Subscribe to our channel to get the latest news from Emberland this week Email newsletter!You can also find our posts in the following locations People Blog.

That is another package! ✨

Be kind,

Chris Ng, L. Preston Sego III, Amy Lam, Ryan Mark, Jessica Jordan and the learning team

Leave a Reply

Your email address will not be published. Required fields are marked *