How to minimize the amount of code downloaded initially by GWT app user's browser? Well, just wrap potentially big operations in a GWT.runAsync() call. However, since our application is using GWT best practices (dependency injection, MVP pattern), it’s not as straightforward as GWT doc describes. Could you please give me an idea on how to use code splitting in conjunction with GIN?
Follow this thread on the GWT mailing list. Use AsyncProvider as provided by the following enhancement.
The best idea, I think, is to use MVP framework. I worked with mvp4g, it supports code splitting out of box. It will also generate boilerplate code for you, so it's pretty simple and fast to develop advanced GWT application with it. The other is gwt-platform, Google invited its creator to Google IO and it looks that this framework is preffered by creators of GWT.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With