Sunday, April 5, 2020

Re: [ANN] Sting v0.13 (Beta) release

On Sun, Apr 5, 2020 at 7:55 PM foal <> wrote:
> Does Sting support the GWT "Code Splitting"? (, I tried to migrate from GIN to the Dagger, but it was the main issue why I still use the GIN.

Sting does not do it much differently than Dagger. It has been a while
since we used code-splitting but I believe all you would need to do is
use an interface to define the service and instantiate the service
implementation behind a split point from a provider method in a
@Fragment annotated type. (A similar approach should be achievable in
dagger but putting the split point in a @Provides annotated method in
a @Module but I have not checked daggers generated code to make sure
it would still work)

So, in theory, it should be fine but I have yet to try it myself ;)


Peter Donald

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
To view this discussion on the web visit

No comments:

Post a Comment