Call snippet from snippet
So I have a whole bunch of snippets out there, and I've been thinking about consolidating some of them into library methods that are contained in a static resource. Firstly are there any performance implications by including snippets in a resource? What are the best practices for doing this? Also I got the static resource working with register snippet, and I can get the snippet with getSnippet. I understand that I can call it with something like:
var i = skuid.snippet.getSnippet('getCorrectURLIfPortal');but how can I set the arguments for the snippet? Do I pass them into the apply function?