A reactive template is a method that allows you to render DOM elements using Observables combined with JSX syntax. A typescript implementation is available in Github.
To enable TSX support, first we must tell Typescript to use our custom
jsx function in the project's
render function is a helper method that will render the
nodes in the default container, in this case
The following code shows the same "Hello World" message as above, but using
be function returns a BehaviorSubject.
A template is a function returns a DOM element.
To set an attribute whenever an observable fires,
It is possible to listen to attribute changes.