1.8.13 • Published 9 months ago

@jsx6/jsx-runtime v1.8.13

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

JSX runtime

This is implementation of jsx-runtime for jsx6.

to use with esbuild cli:

--jsx=automatic --jsx-import-source=@jsx6

or esbuild JS API:

{
  jsx: 'automatic',
  jsxImportSource: '@jsx6',
  ...
}

jsx

Create a production element (TypeScript type). Called when no children or one child. Equivalent to isStaticChildren=false when in dev runtime.

Parameters
  • type (unknown) — element type: Fragment symbol, tag name (string), component
  • props (Props) — element props, children, and maybe node
  • key (string or undefined) — dynamicly generated key to use
Returns

An element from your framework (JSX.Element).

jsxs

Same as jsx but will be called when there is more than one child element. Equivalent to isStaticChildren=true when in dev runtime.

1.8.13

9 months ago

1.8.9

11 months ago

1.8.10

11 months ago

1.8.8

12 months ago

1.8.7

1 year ago

1.8.12

11 months ago

1.8.6

1 year ago

1.8.5

1 year ago

1.8.4

1 year ago

1.8.1

1 year ago

1.8.3

1 year ago

1.8.0

1 year ago

1.7.28

2 years ago

1.7.24

2 years ago

1.7.25

2 years ago

1.7.27

2 years ago

1.7.3

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.7.0

2 years ago

1.7.10

2 years ago

1.7.11

2 years ago

1.7.12

2 years ago

1.7.13

2 years ago

1.7.14

2 years ago

1.7.15

2 years ago

1.6.26

2 years ago

1.7.16

2 years ago

1.6.28

2 years ago

1.7.18

2 years ago

1.6.27

2 years ago

1.7.19

2 years ago

1.6.29

2 years ago

1.7.20

2 years ago

1.7.9

2 years ago

1.6.31

2 years ago

1.7.21

2 years ago

1.7.8

2 years ago

1.7.22

2 years ago

1.7.23

2 years ago

1.7.6

2 years ago

1.7.5

2 years ago

1.7.4

2 years ago

1.6.20

2 years ago

1.6.22

2 years ago

1.6.11

2 years ago

1.6.21

2 years ago

1.6.24

2 years ago

1.6.13

2 years ago

1.6.23

2 years ago

1.6.12

2 years ago

1.6.15

2 years ago

1.6.25

2 years ago

1.6.14

2 years ago

1.6.17

2 years ago

1.6.16

2 years ago

1.6.19

2 years ago

1.6.18

2 years ago

1.6.10

2 years ago