Get started with React.js in Java


Posted on April 22, 2016 by Renaud Pawlak

This is quite serious! The famous JavaScript framework React.js is now available to Java as a JSweet candy. Of course there are still details to be tuned, and the JSX syntax is not supported (yet?), but there is enough there to start having fun with React.js in Java. I will step through some examples to give you the basics on how to program a React.js application in Java.

3

JSweet v1.0 is out: 10 reasons to use it


Posted on February 2, 2016 by Renaud Pawlak

JSweet version 1.0 was released today. JSweet is a Java to JavaScript transpiler built on the top of TypeScript and it gives access to hundreds of up-to-date and well-typed JavaScript APIs from Java. The following figure shows how JSweet translates from the TSD repository and uses the TypeScript tsc compiler and APIs (d.ts) to transpile Java into JavaScript. With the release of version 1.0, I would like to explore the main reasons why you, as a programmer, would want to try JSweet out, and ultimately use it to program Web applications in a better and safer way. Reason 1: Type Safety and

0

Why did we do JSweet?


Posted on December 15, 2015 by Renaud Pawlak

In the past few years, many source-to-source compilers (a.k.a transpilers) have been created to improve JavaScript. Among them, the most well-known are CoffeeScript, Dart, and TypeScript, but the list of such languages is much longer.

0