perf(view): use a linked list instead of list.indexOf

should it be null ?