Splitting initial fragment

19 views
Skip to first unread message

John Patterson

unread,
Sep 25, 2011, 11:42:39 AM9/25/11
to google-we...@googlegroups.com
My app has many html pages that each load a base "loader" module that calls a set of "features" which are each split with a GWT.runAsync call.

The idea is to share common code such as java.util classes and common gwt widgets.

But the problem I have hit is that the initial fragment has become too large.  Any code that is common between 2 features is placed in the initial fragment even though it is not used in any other features.  It doesn't seem very clever to just throw everything in the same fragment.  I want this initial fragment to be more fine grained.

Is there any work happening to help with these non-"app in a single page" type websites?

John Patterson

unread,
Sep 25, 2011, 10:13:33 PM9/25/11
to google-we...@googlegroups.com
Actually I mean the leftovers fragment!  It just keeps on growing
Reply all
Reply to author
Forward
0 new messages