I found @DougChasman using


in his example here How to set up views and navigation in Lightning?

However in the docs I see only $A.newCmpAsync and marked DEPRECATED.

Is that example referenced above no longer working in it's exact form?

Only in case it's no longer working: since there are only rare examples of that kind, wouldn't it be worth for us as community to update it to be compatible with the current release and today's best practices?

  • 1
    I've updated my post above to use the latest and greatest (did not exist when I wrote it) Oct 29, 2015 at 18:48
  • Thanks @DougChasman, your post is one of the most important about Lightning navigation and since it differs a lot from Visualforce it will help us with that transition.
    – Uwe Heim
    Oct 29, 2015 at 20:11

1 Answer 1


The latest reference docs at [your-domain]/auradocs/reference.app should now show $A.createComponent as the standard for Winter '16. You can also look at the LC Dev Guide topic on Dynamically Creating Components for an example.

  • 1
    Thanks a lot for your feedback. I'll point that link also a comment to the OP referenced above
    – Uwe Heim
    Oct 29, 2015 at 16:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .