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

What is Framer? Join the Community
Return to index
Vincent Faure
Posted Nov 17 - Read on Facebook

Hi everyone ! I've been using framer for a year now. Thank you all for the great work ! I stumbled across the Context Class on Github : the few lines of comments tell me I can create a context and basically keep a hierarchy of layers in it, but I've never had any good occasion to use this class (create a new context and use it…). Someone has got an example ? I'm curious ! Cheers !

2 Comments

Jonas Treub

The Context class is used to continuously re-render the user code inside of the device screen layer without having to reload the surrounding device. Constantly reloading the device would cause a lot of flickering. Because the class isn't public and has not been designed to create multiple instances, using it will probably cause a lot of weird and unexpected behaviour.

Vincent Faure

Thank you sir !

Read the entire post on Facebook