0.2.3 • Published 2 years ago

jsx-view v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

jsx-view

Features

  • No DOM diffing and no "lifecycle loop". Only Observables which get subscribed to and directly update the DOM elements.
  • Minimal JSX wiring up with full type definitions for all common HTMLElement attributes.
  • Any attribute accepts an Observable of its value, and this is type checked.
  • An Observable of any JSX.Child (string, null, JSX.Element, etc), can be used as a JSX.Child.
  • Adds special props: is, $style, $class, ref, and tags.
  • exports declaration maps (go-to-def goes to TypeScript source code)

Setting up your tsconfig.json

{
  "compilerOptions": {
    "jsx": "react",
    "jsxFactory": "jsxSpec"
  }
}
0.2.1

2 years ago

0.2.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.1.0-dev.0

2 years ago

0.1.0-dev.7

2 years ago

0.1.0-dev.8

2 years ago

0.1.0-dev.5

2 years ago

0.1.0-dev.6

2 years ago

0.1.0-dev.3

2 years ago

0.1.0-dev.4

2 years ago

0.1.0-dev.1

2 years ago

0.1.0-dev.2

2 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.1

3 years ago

0.0.2

3 years ago

0.0.0

3 years ago