canvas-ui icon indicating copy to clipboard operation
canvas-ui copied to clipboard

Proposal: rename RenderCanvas to RenderRoot

Open myers opened this issue 2 months ago • 0 comments

One item that kept tripping me up was the name RenderCanvas. It's odd because it owns a <canvas> in this._el. What about RenderRoot?

  • Clear: it's the root of the render tree
  • Follows existing convention (Render prefix)
  • Similar to React's FiberRoot, Flutter's RenderView
  • No confusion with canvas elements

myers avatar Oct 13 '25 00:10 myers