All those AI tools give/prefer JSNI code over JsInterop.

For example yesterday I was looking for using SVG in GWT. And Gemini told 
me I could for example wrap svg.js in a gwt wrapper. And explicitty told me 
that JSNI was a better option then JSinterop with some reasons. It showed 
examples of both but recommended going with JSNI.

In the past I also have seen it multiple times that Gemini and Copilot tell 
me to use JSNI.


(personnally I actually also find JSNI to be a better solution, but I don't 
use it anymore because of the promise of GWT 3 (?...?))

Op donderdag 17 april 2025 om 23:48:45 UTC+2 schreef bryan:

> I specifically told Grok I didn't want to use GWTBootstrap3 as I wanted 
> the latest Bootstrap and wanted to minimise dependencies.
> On Friday, April 18, 2025 at 7:18:02 AM UTC+10 Carl Stainton wrote:
>
>> There’s also the GwtBootstrap3 library that’s open source (and has its 
>> own similar demo app). Wonder if the AI had that in its training material …
>>
>> On Thu, 17 Apr 2025 at 19:15, 'Tim Macpherson' via GWT Users <
>> [email protected]> wrote:
>>
>>> Why did it use JSNI ? it's a bit young for that
>>>
>>> Yahoo Mail: Search, Organize, Conquer 
>>> <https://mail.onelink.me/107872968?pid=nativeplacement&c=US_Acquisition_YMktg_315_SearchOrgConquer_EmailSignature&af_sub1=Acquisition&af_sub2=US_YMktg&af_sub3=&af_sub4=100002039&af_sub5=C01_Email_Static_&af_ios_store_cpp=0c38e4b0-a27e-40f9-a211-f4e2de32ab91&af_android_url=https://play.google.com/store/apps/details?id=com.yahoo.mobile.client.android.mail&listing=search_organize_conquer>
>>>
>>> On Thu, Apr 17, 2025 at 12:27 AM, Craig Mitchell
>>> <[email protected]> wrote:
>>> Very cool.  Impressive it didn't cheat and actually coded it with GWT UI 
>>> Binder and JSNI.
>>>
>>> On Wednesday, 16 April 2025 at 5:40:55 pm UTC+10 bryan wrote:
>>>
>>> If anyone is interested, I created a GWT test app styled with Bootstrap. 
>>> The code is almost entirely written by Grok (99%). Quite amazing what AI 
>>> can do!
>>>
>>>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/google-web-toolkit/3abd7770-8303-457d-933f-7e72add74c32n%40googlegroups.com.

Reply via email to