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: