reason-react
reason-react copied to clipboard
Document change in `key` typing
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).
See related https://github.com/reasonml/reason-react/pull/750#discussion_r1264337238.