Thursday, August 20, 2015

Re: Polymer Integration in the next GWT versions?

On Thursday, August 20, 2015 at 11:19:27 AM UTC+2, Vassilis Virvilis wrote:

On the JsInterop front...

I believe I have done my homework and look around for the JsInterop and found some presentations and went through them.

Right now I am depending on some js libraries (D3, hopscotch) etc. They have gwt wrappers like gwt-d3 and gwt-tour but maintaining a wrapper has its costs also. I mean when the js library updates and it is desynchronized from the wrapper .

The same would be true if you used TypeScript instead of GWT (for example).
For a simple wrapper over a JS library, JsInterop interfaces would be the GWT equivalent to TypeScript's "ambient" declarations.
This is also similar in nature to Closure Compiler's "externs".

As a side note: JsInterop does not replace JSNI, it replaces JavaScriptObject (removing most needs for JSNI in those). "JSNI 2" will replace JSNI, but AFAICT not before GWT 3 (where JSNI won't work anymore).

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment