ember-learn / ember-learn/guides-source

Simple Typo Error !!!

Open
#2,055 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
161
Forks
512
Avg merge
4d 9h
Merged PRs (30d)
4

Description

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|}}

{{/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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.