Files
react/src
yungsters fc7cf2ff63 Replace mountDepth with isTopLevel
Summary:
After #2570, `mountDepth` is only used to enforce that `setProps` and `replaceProps` is only invoked on the top-level component. This replaces `mountDepth` with a simpler `isTopLevel` boolean set by `ReactMount` which reduces the surface area of the internal API and removes the need to thread `mountDepth` throughout React core.

Reviewers: @sebmarkbage @zpao

Test Plan:
Ran unit tests successfully:

```
npm run jest
```
2014-11-19 13:13:08 -08:00
..
2014-11-19 13:13:08 -08:00
2014-11-19 13:13:08 -08:00
2014-11-16 17:41:07 -08:00
2014-10-26 12:18:24 +02:00
2013-05-29 12:54:02 -07:00