Link to home
Start Free TrialLog in
Avatar of nick chan
nick chan

asked on

VueJS rending slow the first time

hi guys, I have vuejs component. the first time I render it with my vue object, it's very slow. the subsequent rendering is very fast.

I have tried these scenarios

1) pass empty data to the vue object the first time. then pass large object the 2nd time
2) pass large object to the vue object the first time. then pass empty object the 2nd time
3) pass large object to the vue object the first time. then pass large object the 2nd time

the results are the same. the first time is always slow.

the rendering is executed by watch function of the vue object. maybe that's the problem?

what am I doing wrong?
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial