TypeScript 2 & JSX
We significantly improved support for TypeScript and introduced support for JSX, the declarative approach to UI creation. JSX allows you to embed XML directly into your Tabris.js code, giving you a better representation of your widget hierarchy.
tabris.ui.contentView.append( <button id="activate"></button> );
Since you can combine JSX and TypeScript you also get type-safety in your declarative UI along with auto-completion in your favorite IDE (eg. Visual Studio Code or WebStorm).
With the improved TypeScript integration you can now use the selector API in a type-safe manor as well. No need to cast or perform any runtime-checks.
Tabris.js 2.0 – Top 10 Features
The improved support for TypeScript and JSX are only some of the new features in Tabris 2.0. Be sure to check out the other highlights as well: