mirror of
https://github.com/status-im/react-native.git
synced 2025-02-23 14:48:25 +00:00
Summary: Because it was not idiomatic anyway. There is no point having a pointer to RootShadowNode without any guarantees that it's the current one. Using `commit` method makes this concern explicit. Reviewed By: sahrens Differential Revision: D13615363 fbshipit-source-id: f71ffc3c55dbdc69624933eb8b92334ed793c794