Reintent

@reintent/core/intent/jsx-runtime

Intent JSX (`jsxImportSource: '@reintent/core/intent'`): the JSX a root and its intent components are written in (0045 §2).

A lowercase tag is a host node of that kind; a function is an intent component, called with its name on what it throws; core's handlers (<Resolve>, <Reconsider>, a context's Provider) and an entity's component stay what they are. A catalog's JSX entry forwards to this runtime and types only its own kinds (0043 §4).

Namespace JSX

Interfaces

ElementChildrenAttribute

Defined in: packages/core/src/intent-jsx/jsx-runtime.ts

Properties
PropertyType
childrenobject

IntrinsicAttributes

Defined in: packages/core/src/intent-jsx/jsx-runtime.ts

Properties
PropertyType
key?string | number

Type Aliases

Element

type Element = IntentElement;

Defined in: packages/core/src/intent-jsx/jsx-runtime.ts


ElementType

type ElementType = 
  | Component
  | typeof Fragment
  | keyof IntrinsicElements;

Defined in: packages/core/src/intent-jsx/jsx-runtime.ts


IntrinsicElements

type IntrinsicElements = HostElements;

Defined in: packages/core/src/intent-jsx/jsx-runtime.ts

The lowercase tags: the host kinds the application declares in HostElements.

Variables

jsxDEV

const jsxDEV: (type, props, key?) => IntentElement = jsx;

Defined in: packages/core/src/intent-jsx/jsx-runtime.ts

Parameters

ParameterType
type| string | typeof Fragment | Component<any>
propsRecord<string, unknown>
key?string | number

Returns

IntentElement


jsxs

const jsxs: (type, props, key?) => IntentElement = jsx;

Defined in: packages/core/src/intent-jsx/jsx-runtime.ts

Parameters

ParameterType
type| string | typeof Fragment | Component<any>
propsRecord<string, unknown>
key?string | number

Returns

IntentElement

Functions

jsx()

function jsx(
   type, 
   props?, 
   key?
): IntentElement;

Defined in: packages/core/src/intent-jsx/jsx-runtime.ts

Parameters

ParameterType
type| string | typeof Fragment | Component<any>
propsRecord<string, unknown>
key?string | number

Returns

IntentElement

References

Fragment

Re-exports Fragment

Last updated on

Edit on GitHub