mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
5a13dd090d
Allow more than strings and numbers to be used as attributes for DOM nodes. This removes the special casing for `0` and `false` that was being used in ReactDOMInput and ReactDOMTextarea. Now we will just `toString` any object we try to insert into a DOM. Closes #422, #372, #302