Let's say I have two templates: An index template with my main content, and a changelog template with the changelog. They are considered different templates:
<script id='index' type='text/ractive'>
// ...
</script>
<script id='changelog' type='text/ractive'>
// ...
</script>
ractive = new Ractive({...});
What would be the best way to be able to change between these templates on the fly and programmatically? I was thinking that I could change the template variable for the Ractive instance, i.e. ractive.template = '#changelog'; but changing that doesn't update the output content. Ideally, I'd like it so that a user could click a button in a menu and switch between index and changelog.
 
     
    