An introduction to client-side TypeScript views in Vaadin 15

Creating client-side TypeScript views in Vaadin 15


Vaadin is fast expanding its horizons. By the next LTS (estimated for 2021), the platform is looking to fully support two unique development models:

  • Java-only server-side development (the current primary Vaadin model).
  • TypeScript-based client-side UI development with seamless access to Java on the server-side. 

The release of Vaadin 15 in March is the first step in supporting the latter TypeScript / Java development model. Developers will now be able to add TypeScript views, which co-exist side-by-side with Java views, directly in their Vaadin applications. 

In this article, we discuss support for TypeScript in Vaadin 15, the benefits of the Vaadin approach to client-side UI development, followed by a quick code-example demonstrating the possibilities and simplicity of adding TypeScript views to a Vaadin app.

Build Better Java Web Apps 

One email a month: Vaadin release news, expert tutorials, and guides for Java developers.

Progressive web apps in Java

Update 29-June-2018: There are now more in depth resources about PWA, and example of integrating PWA with Vaadin Flow. What is the big deal about Progressive Web Applications (PWAs) and why are they trending nowadays? Here is one explanation by Google: “It [PWA] loads quickly, even on flaky ...