Triple braces sometimes render wrong
See original GitHub issueThe 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:
- Created 7 years ago
- Comments:7 (7 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry it took so long, this is fixed in 3.4.3
Leaving this open until the fix lands in ember and backported into LTS