I run into this case all the time with my React apps that handle huge amounts of mapping data. You know what's beautiful? Just keep it simple, measure it, and add the extra complexity (eg. Array to dict memoized selectors) where performance is actually an issue.
I'm not saying all cases can be deferred until later. Sometimes you really need to address it up front. But I think most can be refactored later.
I'm not saying all cases can be deferred until later. Sometimes you really need to address it up front. But I think most can be refactored later.