Trying to determine how to best handle a scenario where i don't want excessive views but want to be able to re-render a portion of a section I have a control bound on. I'm haven't gotten into much live binding yet, ( using EJS btw ). Can I use live binding for a entire UL for instance? Right now I've been creating a div wrapper in my control before i append a section portion so I have a hook to to rerender into but it doesnt feel right or seem sustainable. Here's an example of what i'm facing:
Say I have a sidebar with filters, each filter type has a heading and a UL with links in the li's, so:
div-control bound to
h3
ul
li
h3
ul
li
show all link ...
h3
ul
li
When I click show all I want to re render just that that UL with all of the list items and not have to re-render everything inside the div. I'd also like to not have to create separate views for each list cause then I'd need to have separate views for each h3 (which are also dynamically set). So can i live bind a change to say a Can List/map/modelList to one of those ULs? In the EJS I am using a native for loop to build it, will I need to use EACH because of the callback needed for live binding? Have a binch of scenarios where this is an issue, hoping to figure it out. Thanks!