I know the answer to array vs list is generally “use lists for almost everything”, but for ReasonReact, I find lists a tad inconvenient: adding elements is fine, but on every render you have to do
What do you guys use?
P.S. It’s just occurred to me you can add new items to the end of the list, especially when additions happen much rarer than rendering. And of course, renders are still diffed and all. And of course, lists can be pattern matched and all. And of course, sometimes you don’t need a list at all, but rather something like Elm’s SelectList. But still: should I be worried about mapping from lists to arrays