{"action":"created","issue":{"url":"https://api.github.com/repos/haxe-react/haxe-react-native/issues/9","repository_url":"https://api.github.com/repos/haxe-react/haxe-react-native","labels_url":"https://api.github.com/repos/haxe-react/haxe-react-native/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/haxe-react/haxe-react-native/issues/9/comments","events_url":"https://api.github.com/repos/haxe-react/haxe-react-native/issues/9/events","html_url":"https://github.com/haxe-react/haxe-react-native/issues/9","id":244962420,"number":9,"title":"How would one specify local images?","user":{"login":"Jarrio","id":748557,"avatar_url":"https://avatars3.githubusercontent.com/u/748557?v=4","gravatar_id":"","url":"https://api.github.com/users/Jarrio","html_url":"https://github.com/Jarrio","followers_url":"https://api.github.com/users/Jarrio/followers","following_url":"https://api.github.com/users/Jarrio/following{/other_user}","gists_url":"https://api.github.com/users/Jarrio/gists{/gist_id}","starred_url":"https://api.github.com/users/Jarrio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jarrio/subscriptions","organizations_url":"https://api.github.com/users/Jarrio/orgs","repos_url":"https://api.github.com/users/Jarrio/repos","events_url":"https://api.github.com/users/Jarrio/events{/privacy}","received_events_url":"https://api.github.com/users/Jarrio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-07-24T03:19:08Z","updated_at":"2017-07-24T03:47:57Z","closed_at":null,"body":"I can't seem to find a way to reference `require` which is mentioned in the react docs. It then proceeds to say that we should store images in the source code tree but what is the correct location for that in this project setup? The haxe `src` folder, `generated` or the Android assets folder? I tried putting it in the assets folder and I can't seem to get the image to load after specifying the direct path and without?"},"comment":{"url":"https://api.github.com/repos/haxe-react/haxe-react-native/issues/comments/317312689","html_url":"https://github.com/haxe-react/haxe-react-native/issues/9#issuecomment-317312689","issue_url":"https://api.github.com/repos/haxe-react/haxe-react-native/issues/9","id":317312689,"user":{"login":"kevinresol","id":1103788,"avatar_url":"https://avatars0.githubusercontent.com/u/1103788?v=4","gravatar_id":"","url":"https://api.github.com/users/kevinresol","html_url":"https://github.com/kevinresol","followers_url":"https://api.github.com/users/kevinresol/followers","following_url":"https://api.github.com/users/kevinresol/following{/other_user}","gists_url":"https://api.github.com/users/kevinresol/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinresol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinresol/subscriptions","organizations_url":"https://api.github.com/users/kevinresol/orgs","repos_url":"https://api.github.com/users/kevinresol/repos","events_url":"https://api.github.com/users/kevinresol/events{/privacy}","received_events_url":"https://api.github.com/users/kevinresol/received_events","type":"User","site_admin":false},"created_at":"2017-07-24T03:47:57Z","updated_at":"2017-07-24T03:47:57Z","body":"This is not unexpected. `require` resolves other files relative to the script itself."}}
{"actor":{"display_login":"kevinresol"}}