You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey very nice app architecture framework. Where I work we have a need to use progressive enhancement quite a bit and I found most other app architecture frameworks didn't make it easy to serve HTML from the server. We just needed something simple to help organize our JavaScript. This looks to fit the bill.
On to my question. We'd like to lazy-load not only the module HTML but also the JavaScript file associated with it.
From the few tests I've done it looks to be possible, we'd just have to make sure each T3 component starts itself rather than using the Box.Application.init method (at least I think that'll work.. if there's a cleaner way... I'm all ears).
With that said, would it be possible to make Box.Application.addModule, addService, etc. return an instance of the application instead of undefined. This way I could do something like the following:
Hey very nice app architecture framework. Where I work we have a need to use progressive enhancement quite a bit and I found most other app architecture frameworks didn't make it easy to serve HTML from the server. We just needed something simple to help organize our JavaScript. This looks to fit the bill.
On to my question. We'd like to lazy-load not only the module HTML but also the JavaScript file associated with it.
From the few tests I've done it looks to be possible, we'd just have to make sure each T3 component starts itself rather than using the Box.Application.init method (at least I think that'll work.. if there's a cleaner way... I'm all ears).
With that said, would it be possible to make Box.Application.addModule, addService, etc. return an instance of the application instead of
undefined
. This way I could do something like the following:This is really more of a stylistic preference but would be nice to have.
The text was updated successfully, but these errors were encountered: