Document change in `key` typing
jchavarri opened this issue · comments
Javier Chávarri commented
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).
Javier Chávarri commented
See related #750 (comment).