Message from JavaScript discussions

August 2020

— Mdn says bad support for mobile🤔 hmm, those DragEvents are some simplified interface for drag&drop


Smart way to debug API response - Online Editor and Chart Generator for JSON, XML, CSV, YAML documents

— Nope it was just my broken chrome

— How good is canvas context at optimizing things that are being drawn off viewport?

— If I have some kind of infinite-canvas app is it worth the hassle to implement viewport check render/don’t render or does the canvas context ?

Message permanent page

— Nothing is infinite🤤 it's optimized by GPU i suppose

— Good question

— You can benchmark it easily i believe

— Is it on pixel-draw level or do the draw rectangle mappings check AABB with canvas viewport?

— I highly doubt that it’d do collision check with each primitive VS viewport

— But could see it as a big optimization feature and since we’re talking about 2d canvas context, i’d not be surprised and i don’t want to reinvent wheel

Message permanent page

— What wheel you want to reinvent🤔 im not a canvas-guy.. didnt use that api