This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Shirley Man
Posted May 22 - Read on Facebook

What's the best practice for writing performant code in Framer? Do I need to be careful with destroying objects? Are they automatically destroyed when they are off-screen? Do I need to deregister events manually? Thanks.


Jordan Robert Dobson

Depends how big your prototype is and how many objects you create. Some garbage collection will definitely happen but the more you can help the better. But again it really depends on how heavy you take things.

Kevin Gutowski

Ah I'm wondering the same thing. When I have multiple artboards imported from sketch I've been making their visibility set to false when users navigate to the next page but maybe it's redundant.

Read the entire post on Facebook