Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4830

Ember 2. Using components speeds up the rendering?

$
0
0

@ginolon wrote:

I'm wondering if using components instead of putting the same code of them in a single .hbs template speeds up rendering.

I have a long page (page.hbs) with many components (many {{#if products}} ... {{#each}} ... mostly). Today I tried to move the code from components to directly in page.hbs.

I immediately noticed that, although a few thousandths of a second, by my eyes, you could see some slight braking.

Maybe the page loads first the code in it and then (microseconds after) the components template and theirs html???
it's possible?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4830

Trending Articles