react-bootstrap/react-bootstrap — pull request #268 by trentgrover-wf (2014-11-06 20:43:31+00:00)
Title: React 0.12 support alternate (temp _currentElement.key solution)

Provide React 0.12 support in all react-bootstrap components.
This PR uses the private _currentElement.key value to avoid making API changes to react-bootstrap during this transition.

WARNING: POTENTIAL BREAKING CHANGE:

For some reason, number key values of child elements are cast to strings. This can cause failures when parent elements perform comparisons with those key values. For example, the below example will not work because, at runtime, the child keys get converted to strings, but the parent defaultActiveKey does not `(1 === '1') -> false`.

```

TabPane 1 content
TabPane 2 content

```

This version will work:
```

TabPane 1 content
TabPane 2 content

```

1 potential solution to this problem would be to change the relevant comparisons within react-bootstrap to use `==` or `!=` instead of `===` or `!==`

@stevoland
@pieterv