Yes, I am using AsyncProvider<> to create split point. The issue is not here, the split point is created. However, most of my code stay in the initial fragment because every Provider<> are merged together (If I understand correctly the soyc)
Le mercredi 24 juillet 2019 17:19:06 UTC+2, Jens a écrit :
-- For exemple :
- I have an AsyncProvider<A> and A has a dependency to a Provider<X>
- I have another AsyncProvider<B> and B has a dependency to a Provider<Y>
- the EntryPoint use a Provider<Z>
I was hoping to have a splitpoint with A+X, another with B+Y and the initial fragment with Z
However, after the compilation, X, Y and Z are in the initial fragment, and the soyc says that Provider<X> and Provider<Y> are used by my entrypoint.
Le mercredi 24 juillet 2019 17:19:06 UTC+2, Jens a écrit :
GIN has a AsyncProvider<T> class which calls GWT.runAsync(...) internally to code split T with T being something concrete that GIN can inject.Have you tried that AsyncProvider instead?-- J.
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 google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/84935e93-9cbc-4218-a337-5a1624cdeeba%40googlegroups.com.
No comments:
Post a Comment