reason-react icon indicating copy to clipboard operation
reason-react copied to clipboard

Document change in `key` typing

Open jchavarri opened this issue 2 years ago • 1 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).

jchavarri avatar Jul 19 '23 14:07 jchavarri

See related https://github.com/reasonml/reason-react/pull/750#discussion_r1264337238.

jchavarri avatar Jul 19 '23 14:07 jchavarri