I'm trying to make my app more performant. In order to do this I think I could hide, with visibility: false
some Objects that are not in the current viewportTransform visualization and show them just when the viewportTransform is on its boundaries.
Is there any method to know if an object is inside of this "view"?
Thank you!
Fabric.js already does that for you.
This check is controlled by Canvas.skipOffscreen (defaults to true
).