Monday, December 8, 2025

Re: JsInterop wrapping of D3 js

I'm not sure I understand the question.  I've used TS in one project, and GWT in another.  Never in the same project.  As far as static typing goes, Java (GWT) wins hands down, as it is a native to the language.

On Sunday, 7 December 2025 at 6:13:13 am UTC+11 Tim Macpherson wrote:
I'm using GWT and TS together, both involve static typing and ide support around that. Basic question is: does anyone else do this (I assume yes) and how do they compare?


On Sat, Dec 6, 2025 at 9:43 AM, 'RobW' via GWT Users
Question  possibly of interest is how GWT stands against Typescript which seems to be now established as a  front end standard. 

I'm really not sure why Typescript is relevant - if I were coding front-end in JS or TS, then yes I'd think about which syntax and features (type checking etc) were better. But in GWT I'm coding in Java. I don't really care what the compiles down to as long as it works. OK, when debugging I do see the JS output, but I'm never mod'ing that directly. On occasion, to use a lib, I'll quickly craft some JSNI bindings for the methods I need. But that's as close as I go to the JS layer. 

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-tool...@googlegroups.com.
To view this discussion visit

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/1bd9b354-b1c1-48cb-80a5-85cc7637bcaan%40googlegroups.com.

No comments:

Post a Comment