From d8e000c791066c9730bb21c5d6a123668222714d Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 13 Jun 2018 18:25:53 +0200 Subject: [PATCH 1/2] Adds Component#isVisible deprecation --- source/blog/2018-06-15-the-emberjs-times-issue-51.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/blog/2018-06-15-the-emberjs-times-issue-51.md b/source/blog/2018-06-15-the-emberjs-times-issue-51.md index 01227188c5..d6a3aa429a 100644 --- a/source/blog/2018-06-15-the-emberjs-times-issue-51.md +++ b/source/blog/2018-06-15-the-emberjs-times-issue-51.md @@ -21,7 +21,14 @@ The next version is also being worked on, supporting Ember 3.0 - Ember 3.2. You can test that out now at [canary.ember-twiddle.com](https://canary.ember-twiddle.com). Ember Twiddle is a playground website for developing small Ember applications backed by Github gists. -## [SECTION TITLE](#section-url) +## [It's visibly time to deprecate isVisible 👀](https://github.com/emberjs/rfcs/pull/324) +A new RFC has been posted on deprecating `Component#isVisible`. The motivation is related to the confusion associated to setting the isVisible property on a component. Also, modern Ember applications are already avoiding using isVisible in favor of simpler conditionals in the template. Given that `Component#isVisible` is a public API, deprecating now would schedule for removal in the next major version release (4.0). + +No sweat, other options are still available to hide elements, such as: + +- `` +- Wrapping the component in a template conditional `{{#if}}` statement. +- Using the Components `classNames` and `classNameBindings` --- From 2b94bda9d8274bac21eb11b18ab4a717215eecca Mon Sep 17 00:00:00 2001 From: Miguel Date: Thu, 14 Jun 2018 17:31:10 +0200 Subject: [PATCH 2/2] Updates Component#isVisible deprecation write-up --- source/blog/2018-06-15-the-emberjs-times-issue-51.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/blog/2018-06-15-the-emberjs-times-issue-51.md b/source/blog/2018-06-15-the-emberjs-times-issue-51.md index d6a3aa429a..a35710bae2 100644 --- a/source/blog/2018-06-15-the-emberjs-times-issue-51.md +++ b/source/blog/2018-06-15-the-emberjs-times-issue-51.md @@ -28,7 +28,9 @@ No sweat, other options are still available to hide elements, such as: - `` - Wrapping the component in a template conditional `{{#if}}` statement. -- Using the Components `classNames` and `classNameBindings` +- Using the Component's `classNames` and `classNameBindings` + +A heads-up that this RFC has entered the FCP (Final Comment Period), so this week might be your last chance to comment on it! ---