diff --git a/docs/CommunicationIOS.md b/docs/CommunicationIOS.md index 2850a138c..d47bfb09b 100644 --- a/docs/CommunicationIOS.md +++ b/docs/CommunicationIOS.md @@ -103,7 +103,7 @@ Events are described in detail in [this article](docs/native-components-ios.html Events are powerful, because they allow us to change React Native components without needing a reference to them. However, there are some pitfalls that you can fall into while using them: * As events can be sent from anywhere, they can introduce spaghetti-style dependencies into your project. -* Events share namespace, which means that you may encounter some name collisions. Collisions will not be detected statically, what makes them hard to debug. +* Events share namespace, which means that you may encounter some name collisions. Collisions will not be detected statically, which makes them hard to debug. * If you use several instances of the same React Native component and you want to distinguish them from the perspective of your event, you'll likely need to introduce some kind of identifiers and pass them along with events (you can use the native view's `reactTag` as an identifier). The common pattern we use when embedding native in React Native is to make the native component's RCTViewManager a delegate for the views, sending events back to JavaScript via the bridge. This keeps related event calls in one place.