J2CL is not a replacement of GWT Java->Js compiler until it gets open-source and get decided by GWT steering as a viable replacement of the GWT compiler.
For arrays, you don't need something special. You can cast your javascript array to Object[] or a native jstype array and use regular java array syntax. On Mon, Nov 28, 2016 at 7:47 AM, Brandon Donnelson < [email protected]> wrote: > No, JSNI will no longer be supported with J2CL, it won't be needed. That > said, we are waiting on a core library with elemental to be released so > that JSNI doesn't have to be used anymore, meaning you can work with arrays > elements. It's a small lib. > > Google is working on J2CL, they're close but more work is needed before > the release. I can't speak to the timeline, but it sounded not to far off. > > > On Monday, November 28, 2016 at 7:25:07 AM UTC-8, Kirill Prazdnikov wrote: >> >> It is interesting: does J2CL support JSNI or not. >> Currently, @JsIndexer annotation does exist, so that it is impossible to >> work with js-arrays without JSNI. >> There are possibilities for J2CL: to have @JsIndexer, to support JSNI, >> both, something else. >> >> Konstantin, have you ever considered using Kotlin-js ? >> >> >> -- > You received this message because you are subscribed to the Google Groups > "GWT Contributors" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/google-web-toolkit-contributors/3fcf2415-cb8d- > 4edb-814e-3c1d467fe911%40googlegroups.com > <https://groups.google.com/d/msgid/google-web-toolkit-contributors/3fcf2415-cb8d-4edb-814e-3c1d467fe911%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "GWT Contributors" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/CAN%3DyUA2whm8qiyk3t5sEuL-FK%2BO3m%3DgH9_3EStkGrrJjPXaZHw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
