{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/896","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/896/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/896/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/896/events","html_url":"https://github.com/facebook/react-native/issues/896","id":69096930,"number":896,"title":"[Packager] how does react native find ActivityIndicatorIOS when using require('ActivityIndicatorIOS')?","user":{"login":"lzyy","id":35974,"avatar_url":"https://avatars.githubusercontent.com/u/35974?v=3","gravatar_id":"","url":"https://api.github.com/users/lzyy","html_url":"https://github.com/lzyy","followers_url":"https://api.github.com/users/lzyy/followers","following_url":"https://api.github.com/users/lzyy/following{/other_user}","gists_url":"https://api.github.com/users/lzyy/gists{/gist_id}","starred_url":"https://api.github.com/users/lzyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lzyy/subscriptions","organizations_url":"https://api.github.com/users/lzyy/orgs","repos_url":"https://api.github.com/users/lzyy/repos","events_url":"https://api.github.com/users/lzyy/events{/privacy}","received_events_url":"https://api.github.com/users/lzyy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2015-04-17T08:45:32Z","updated_at":"2016-10-08T02:54:25Z","closed_at":"2015-05-31T09:54:11Z","body":"for example, this is the `webView.ios.js` header\r\n\r\n```\r\nvar ActivityIndicatorIOS = require('ActivityIndicatorIOS');\r\nvar EdgeInsetsPropType = require('EdgeInsetsPropType');\r\nvar React = require('React');\r\nvar ReactIOSViewAttributes = require('ReactIOSViewAttributes');\r\nvar StyleSheet = require('StyleSheet');\r\nvar Text = require('Text');\r\nvar View = require('View');\r\n```\r\n\r\n`ActivityIndicatorIOS` is in `Libraries/Components/ActivityIndicatorIOS/ActivityIndicatorIOS.ios.js`\r\n\r\nwhile `EdgeInsetsPropType` is in `Libraries/StyleSheet/EdgeInsetsPropType.js`\r\n\r\nwhere is the search path setting?\r\n\r\n---\r\n\r\nPS: in `ListView.js`, there is \r\n\r\n```\r\nvar React = require('React');\r\n```\r\n\r\nbut when is `React` be installed? `package.json` doesn't contain it."},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/252398305","html_url":"https://github.com/facebook/react-native/issues/896#issuecomment-252398305","issue_url":"https://api.github.com/repos/facebook/react-native/issues/896","id":252398305,"user":{"login":"cotyembry","id":15709073,"avatar_url":"https://avatars.githubusercontent.com/u/15709073?v=3","gravatar_id":"","url":"https://api.github.com/users/cotyembry","html_url":"https://github.com/cotyembry","followers_url":"https://api.github.com/users/cotyembry/followers","following_url":"https://api.github.com/users/cotyembry/following{/other_user}","gists_url":"https://api.github.com/users/cotyembry/gists{/gist_id}","starred_url":"https://api.github.com/users/cotyembry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cotyembry/subscriptions","organizations_url":"https://api.github.com/users/cotyembry/orgs","repos_url":"https://api.github.com/users/cotyembry/repos","events_url":"https://api.github.com/users/cotyembry/events{/privacy}","received_events_url":"https://api.github.com/users/cotyembry/received_events","type":"User","site_admin":false},"created_at":"2016-10-08T02:54:25Z","updated_at":"2016-10-08T02:54:25Z","body":"."}}
{"actor":{"display_login":"cotyembry"}}