This repository has been archived by the owner on Apr 30, 2021. It is now read-only.
Prior to this version, you would have to wrap each Rough Components (Rectangle, Circle, ...) on your own with memo
to prevent it from re-rendering when one of the components changes. We made sure to take care of that for you.
Also, we were using a function from useEffect to get the renderer type which was less performant. We also made sure to avoid that as well.