question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Triple braces sometimes render wrong

See original GitHub issue

The following template:

<h1>head</h1>
{{{model}}}
<div>foot</div>

sometimes results in rendering the content of model after the <div>foot</div>.

Reproduction: https://ember-twiddle.com/2cadbc4061c5444402d3462afd892ce7?openFiles=templates.application.hbs%2C&route=%2Fmy-route%2F2

For reproduction first click “1”, then click “2”. It works if you directly click on the “2”.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
chancancodecommented, Sep 25, 2018

Sorry it took so long, this is fixed in 3.4.3

0reactions
chancancodecommented, Sep 25, 2018

Leaving this open until the fix lands in ember and backported into LTS

Read more comments on GitHub >

github_iconTop Results From Across the Web

Wrong components rendered by Preact - Stack Overflow
This is a classic issue that is totally underserved by Preact's documentation, so I'd like to personally apologize for that!
Read more >
When should I use curly braces { } and parenthesis ( ) in React?
Curly braces { } are special syntax in JSX. It is used to evaluate a JavaScript expression during compilation. A JavaScript expression can...
Read more >
Understanding the "Objects are not valid as a react child" Error ...
React has no way to tell what to render when provided with an object, thus the Invariant Violation error pops up when attempting...
Read more >
Conditional Rendering - React
This example renders a different greeting depending on the value of isLoggedIn prop.
Read more >
Ways to force Vue to re-render a component. - Medium
If it's false, the component will not exist at all in the DOM. Here's how we can set up the v-if hack to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found