Reverse mapping on computation in component WIP

A bit stuck on this one. I'm reversing the mapping and the initial render works, but it's not updating (see the test). @Rich-Harris or @evs-chris any insights appreciated.