Adrian
Adrian

Reputation: 178

Ember js big table

I have a page with a few tables, in total there are a few after 1000 rows.

After the tables is ready, when I click to go on another page, the route is changing in the address bar, but nothing happens until a few seconds. Then the new page is rendered.

Why is that and what can I do?

Upvotes: 0

Views: 41

Answers (1)

acorncom
acorncom

Reputation: 5955

This sounds like the new page route you are shifting to has a model hook that takes a bit to load. If that is indeed where your slowdown is then you can add a loading substate to your application to display a loading spinner of some kind.

More details available here: https://guides.emberjs.com/v2.12.0/routing/loading-and-error-substates/

Upvotes: 1

Related Questions