RemixElement

View Source

Summary

A virtual element produced by JSX or import('./create-element.ts').createElement describing UI. Carries a $rmx brand used to distinguish it from plain objects at runtime.

Signature

interface RemixElement {
  $rmx: true;
  key?: any;
  props: ElementProps;
  type: ElementType;
}

Properties

$rmx

Internal brand used to distinguish Remix elements at runtime.

key

Optional reconciliation key.

props

Normalized props for the element.

type

Host tag or component function for the element.