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

What is Framer? Join the Community
Return to index
Gavin Atkinson
Posted Nov 02 - Read on Facebook

Hi all, a recent project has me writing a prototype that is +1k lines and the editor is starting to lag frequently which is making it difficult to work. Does anyone know of a solution to this?


Jonas Treub

Niels van Hoorn is currently looking into improving performance.

Niels van Hoorn

Yes! It would be really helpful if you could share your prototype so I can investigate.
Is it slow when typing or mostly when saving? Do you use code folds? Does it help to move code into modules?

John Grendon Enderby

Recently sent Eelco a shorter prototype than this that was behaving in a similar way. Laggy when typing and freezing up the dev tool and preview canvas. Feel free to take a look at that too if it helps.

Niels van Hoorn

Thanks a lot! I will definitely take a look!
Thomas: Framer was designed, but definitely not optimized (yet) for working with large codebases. That's one of the things I'm trying to fix :)

Alexey Kharitonov

Hmmm, looks strange. Got few prototypes about 2 – 3 K + lines of code and it works well with no any lags except prototype preview – it takes a bit of time for reload / refresh. (Yes, any huge prototype is freaking laggy on any Android device and OK on iOS) Always trying to keep code clear and split it to blocks such as: Layers / variables / functions etc. and then Fold it

Read the entire post on Facebook