8000 Simple Typo Error !!! · Issue #2055 · ember-learn/guides-source · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Simple Typo Error !!! #2055
Open
Open
@ItsPrabuSelvam

Description

@ItsPrabuSelvam

site url : https://guides.emberjs.com/v3.14.0/components/

{{#each this.model as |post|}}
{{!-- either foo-component or bar-component --}}
{{#let (component this.componentName) as |Post|}}
<Post @post={{post}} />
{{/let}}
{{/each}}

{{#let (component this.componentName) as |Post|}} should be changed to {{#let (component post.componentName) as |Post|}}

Here the 'this' in the block refers to a controller, which leads to misunderstanding

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0