Skip to main content
ManoliTsigonakis
Participant
January 28, 2020
Question

Too many components = slow document. Need advice

  • January 28, 2020
  • 3 replies
  • 1546 views

Hi XD team and community,

 

I am aware that using too many components/states will make XD significantly slower. And yesterday I also finally realised why my most recent document was getting corrupted over and over. It happened once I pasted in an artboard from another document with a ton of different components and states. I guess by pasting in that artboard I crossed some sort of a limit, therefore it corrupts.

 

Because of this today I'm working in another document, but with a lot of the same artboards used in the document previously mentioned. I've decided that it would be best to just ask here (before I mess things up again). Can you give me detailed advice for how to restore the speed in my documents and what I should do to prevent this issue from happening again in the future?

 

Example:

In the new document I'm counting 101 Document Assets. Several listed components are appearing 5x and when I hover over them, none of them have instances on the canvas.

My urge now is to just delete those but I tryed that about a month ago (working in a different document), when manually removing those components with no instances on the canvas resulted in that document being a complete mess. 

 

I'm sure it's just me doing something wrong here. Truth is, I enjoy working with XD and after the November update I can see many new possibilities for creating awesome prototypes using the component feature. However, I need advice on how I keep large documents with many componts and states fast and clean.

 

Thanks

This topic has been closed for replies.

3 replies

aebla
Inspiring
May 27, 2020

I don't entirely know how it works, but I think part of the reason XD gets slow if you have lots of components with lots of states is that each instance of a component carries all the content for all its states wherever you put it (I could be wrong on this though). If you have lots of states with duplicated or just lots of content in each state, that is a LOT of extra stuff being carried along by a piece of UI that's not even using it! I remember one document I had contained a component that had 5 or 6 instances of another component inside of it. It also had multiple states. At one point I checked the assets panel and found that there were over 700 instances of the nested component in my document -- and I only had about 15 or so instances of the container component! Insanity.

ManoliTsigonakis
Participant
February 7, 2020

If anyone can point me to a video or website which explains in detail how to keep large documents with many components and states fast and clean that's fine with me as well. But I would appreciate it if someone could help out.

ManoliTsigonakis
Participant
February 3, 2020

Anyone?

andrewb39087563
Known Participant
February 4, 2020

Can confirm I had the same probelm but I work with 100 to 1000 components so the delay on XD was significant.

I had to uninstall and go back to V25 to fix.  

ManoliTsigonakis
Participant
February 7, 2020

Thanks for the reply Andrew. Does V25 still have components and states?