Skip to content

Proposal: rename RenderCanvas to RenderRoot #33

@myers

Description

@myers

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions