Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

Adds Native Class Constructor Update write-up to blog #3417

Merged
merged 2 commits into from
Jun 21, 2018
Merged

Adds Native Class Constructor Update write-up to blog #3417

merged 2 commits into from
Jun 21, 2018

Conversation

Mi6u3l
Copy link
Member

@Mi6u3l Mi6u3l commented Jun 20, 2018

Adds Native Class Constructor Update write-up to blog

Copy link
Member

@jayjayjpg jayjayjpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This reads great and is well-researched! I left two comments about formatting and a question if we want to add another CTA at the end. Otherwise I'm all 👍

## [SECTION TITLE](section url)
## [Native Class Constructor Update 🛠](https://github.com/emberjs/rfcs/pull/337)

There is currently an open RFC proposing to change the behavior of EmberObject's constructor.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We aimed to put anything that describes Ember objects, methods or similar things into code quotes (``) in the past - I think it would make sense to put any mentions of EmberObject into ``, too so, it'd become EmberObject.
What do you think?

This would assign the properties _after_ all of the class fields for any subclasses have been assigned.

One thing worth mentioning is that EmberObject will likely be deprecated in the near future and that ideally for non-Ember classes (things that aren't Components, Services, etc.) users should drop EmberObject altogether and use native classes only.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it'd be cool to add a final call-to action as well, reminding people that they can comment on the RFC to help finalizing it - what do you think?

Copy link
Member

@jayjayjpg jayjayjpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for another great write-up this week, Miguel ✨

@jayjayjpg jayjayjpg merged commit c7f1136 into emberjs:blog/embertimes#52 Jun 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants