by basicallydan · 12y ago · 0 comments
I have a simple state observable and then I wrap my 'views' in a if: state() == 'x' knockout comment. This moves the entire view out of memory until the state changes.
In addition I have a fixture loader that loads the view files in as they are needed. This speed things up nicely as my base html file is much smaller.