Read the blog post on handling Promises and UI states with Ember.js 🔄, learn how Ember has helped Intercom evolve since 2014 📖, a mutable future with Ember Octane 🐹🏎, and Ember and GraphQL: a quick example 📹.
Sabin Hertanu @herzzanu wrote a blog post on handling promises and UI states with Ember. Examples of this range from providing loading states when sending a post request to enabling complicated behaviour such as a backoff period before being able to interact with the UI again.
Watch an introduction to using GraphQL with Ember.js in Rocky Neurock @jneurock's new video! The YouTube video ⚡️quickly ⚡️ demonstrates how to get up and running with Ember.js, GraphQL, Apollo and EmberCLI Mirage.
If you've been interested in learning how to set up an application with GraphQL and Ember.js, or are just looking to learn a little more about GraphQL and Apollo and the relevant syntax, this video is a super nice resource. Plus, you get to see how EmberCLI Mirage can handle GraphQL queries! ✨
In particular, Gavin attributed these four keys to success:
Shared core values with Ember
Ability to empower new devs to ship soon meaningful features
Confidence in upgrades thanks to Ember's stability without stagnation
Ember's commitment to continuous improvement (case study in rendering engine)
He closed the talk by giving a preview of Ember Octane's native JS approach: "I don't know what you would remove from that. [...] Everything has a purpose, and it's beautifully minimal and clean." 💙
In combination with the {{ opening_double_curly() }}action{{ closing_double_curly() }} helper, {{ opening_double_curly() }}mut{{ closing_double_curly() }} allows developers to create a useful, implicit and template-only shorthand for a setter function, that otherwise would require an explicit definition in the component class itself:
With Ember Octane coming soon and the new Glimmer Component API enforcing unidirectional data flow, many developers might wonder how the {{ opening_double_curly() }}mut{{ closing_double_curly() }} helper still fits into the overall picture. Are there any issues with using {{ opening_double_curly() }}mut{{ closing_double_curly() }} in future Octane apps? And are there still plans to deprecate the helper or 2-way-binding APIs from the framework in general?
You will find answers to all of these questions in an excellent deep-dive into mut and 2-way-bindings by Chris Garrett (@pzuraq). This blog post will clarify which data-binding framework APIs will remain for the foreseeable future (including Ember Octane) and which questions are still open in regards to 2-way binding components commonly used in Ember apps today.
Be sure to check out the article, share it with your colleagues and Ember friends and join the discussion on the Ember Discord!
Wondering about something related to Ember, Ember Data, Glimmer, or addons in the Ember ecosystem, but don't know where to ask? Readers’ Questions are just for you!
Submit your own short and sweet question under bit.ly/ask-ember-core. And don’t worry, there are no silly questions, we appreciate them all - promise! 🤞