reasonml / reason-react

Reason bindings for ReactJS

Home Page:https://reasonml.github.io/reason-react/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Document change in `key` typing

jchavarri opened this issue · comments

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).