{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/react/issues/4604","labels_url":"https://api.github.com/repos/facebook/react/issues/4604/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react/issues/4604/comments","events_url":"https://api.github.com/repos/facebook/react/issues/4604/events","html_url":"https://github.com/facebook/react/issues/4604","id":100413225,"number":4604,"title":"Support for jsx filenames in React Native","user":{"login":"pickhardt","id":610082,"avatar_url":"https://avatars.githubusercontent.com/u/610082?v=3","gravatar_id":"","url":"https://api.github.com/users/pickhardt","html_url":"https://github.com/pickhardt","followers_url":"https://api.github.com/users/pickhardt/followers","following_url":"https://api.github.com/users/pickhardt/following{/other_user}","gists_url":"https://api.github.com/users/pickhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/pickhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pickhardt/subscriptions","organizations_url":"https://api.github.com/users/pickhardt/orgs","repos_url":"https://api.github.com/users/pickhardt/repos","events_url":"https://api.github.com/users/pickhardt/events{/privacy}","received_events_url":"https://api.github.com/users/pickhardt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-11T21:10:00Z","updated_at":"2015-08-11T21:28:14Z","closed_at":"2015-08-11T21:28:14Z","body":"It seems that files with the extension .js can be required, but .jsx files cannot.\r\n\r\nThe following works fine:\r\n\r\n```\r\nvar HelloPage = require(\"./src/views/screens/hello.js\")\r\n```\r\n\r\nBut when I rename the file and the code to .jsx, it gives the exception \"Requiring unknown module \"./src/views/screens/hello.jsx\". If you are sure the module is there, try restarting the packager.\"\r\n\r\nRestarting didn't seem to help. Is this a problem with something in React Native?"}}