In some recent PR (I think #714) the types for key were strengthened. Before, one could essentially pass anything as key while now ReasonReact expects (correctly) for the key to be a string.
I think this should be documented somewhere as an improvement, and maybe be included in any future release posts as it is a "breaking" change (for the better).
In some recent PR (I think #714) the types for
keywere strengthened. Before, one could essentially pass anything askeywhile now ReasonReact expects (correctly) for thekeyto be astring.I think this should be documented somewhere as an improvement, and maybe be included in any future release posts as it is a "breaking" change (for the better).