I'm happy to announce my latest commercial plugin; this one is a bit different then most of my plugins.
I ran into a situation while benchmarking one of my apps where the parsing of the Declarative UI XML files and the building out of a fairly complex layout cost me a couple seconds of time when navigating to this screen. I then found out that the majority of the time was spent building a part of the app that was completely hidden. So, I had to find a way to mitigate this...
Enter my newest plugin, what I have built with this plugin is the ability for you to dynamically load (& unload) any chunk of Declarative UI XML (and its associated JavaScript file) into any UI element that accepts at least a single child.
I have a sample github repo using the new plugin, showing how easy it is to use the plugin, and a full demo showing different ways to use the plugin.
Everything in the Blue box is totally loaded dynamically from all the different Declarative UI XML files that are located in the /views/ folders that you can see in the github repo.
You can purchase this plugin at: http://nativescript.tools/product/16