# Rendering named arguments, @ vs this.args

**URL:** <https://discuss.emberjs.com/t/rendering-named-arguments-vs-this-args/19487>\
**Category:** General\
**Created:** [April 8, 2022, 8:04am UTC](https://discuss.emberjs.com/t/rendering-named-arguments-vs-this-args/19487 "2022-04-08T08:04:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kspe](https://avatars.discourse-cdn.com/v4/letter/k/e79b87/32.png) [@kspe](https://discuss.emberjs.com/u/kspe)\
**Post date:** [April 8, 2022, 8:04am UTC](https://discuss.emberjs.com/t/rendering-named-arguments-vs-this-args/19487/1 "2022-04-08T08:04:34Z")

</div>

Hi,

I was playing a bit with named arguments and noticed that to my surprise rendering an argument passed from the parent component works fine either with `@` or with `this.args`. I could not find any information though whether `@` is just an alias for `this.args` or there is something more to it.

Twiddle with an example: [Ember Twiddle](https://ember-twiddle.com/c3742e8ddc3a6b9ea0e9551965962142)

Thanks!

---

<div class="post-metadata">

**Author:** ![ef4](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/ef4/32/13470_2.png) [@ef4](https://discuss.emberjs.com/u/ef4)\
**Post date:** [April 8, 2022, 1:39pm UTC](https://discuss.emberjs.com/t/rendering-named-arguments-vs-this-args/19487/2 "2022-04-08T13:39:11Z")

</div>

The `@` is the more foundational idea, because all components always receive their arguments that way.

Not all components have a `this`. Template-only components do not, for example.

`this.args.thing` necessarily works on Glimmer components because Glimmer components put their arguments into `this.args`. Similarly, on classic Ember components you can find all the arguments directly on `this`, like `this.thing`.

Ember ships with a default lint rule that tells you not to use `{{this.args.thing}}` when you could have used `{{@thing}}`.

---

<div class="post-metadata">

**Author:** ![triddlelover69](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/triddlelover69/32/17407_2.png) [@triddlelover69](https://discuss.emberjs.com/u/triddlelover69)\
**Post date:** [May 28, 2022, 1:27pm UTC](https://discuss.emberjs.com/t/rendering-named-arguments-vs-this-args/19487/3 "2022-05-28T13:27:17Z")

</div>

I was also getting confused regarding the given arguments. Thanks, for clearing the confusion in such beautiful manner.
