{"action":"created","issue":{"url":"https://api.github.com/repos/loggur/babel-plugin-react-error-catcher/issues/10","labels_url":"https://api.github.com/repos/loggur/babel-plugin-react-error-catcher/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/loggur/babel-plugin-react-error-catcher/issues/10/comments","events_url":"https://api.github.com/repos/loggur/babel-plugin-react-error-catcher/issues/10/events","html_url":"https://github.com/loggur/babel-plugin-react-error-catcher/issues/10","id":104351964,"number":10,"title":"Handle components that return null from render()","user":{"login":"dallonf","id":346300,"avatar_url":"https://avatars.githubusercontent.com/u/346300?v=3","gravatar_id":"","url":"https://api.github.com/users/dallonf","html_url":"https://github.com/dallonf","followers_url":"https://api.github.com/users/dallonf/followers","following_url":"https://api.github.com/users/dallonf/following{/other_user}","gists_url":"https://api.github.com/users/dallonf/gists{/gist_id}","starred_url":"https://api.github.com/users/dallonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dallonf/subscriptions","organizations_url":"https://api.github.com/users/dallonf/orgs","repos_url":"https://api.github.com/users/dallonf/repos","events_url":"https://api.github.com/users/dallonf/events{/privacy}","received_events_url":"https://api.github.com/users/dallonf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-01T20:50:40Z","updated_at":"2015-09-01T21:48:28Z","closed_at":"2015-09-01T21:48:28Z","body":"So, I promised a pull request to fix my remaining issues. I lied. :frowning: Could only figure out [one of them](https://github.com/loggur/babel-plugin-react-error-catcher/pull/9) on my own.\r\n\r\nIn React, it is acceptable to return `false` or `null` from a `render()` function. (https://facebook.github.io/react/docs/component-specs.html#render) This causes the component not to appear in the DOM at all. However, this plugin seems to assume that a null value returned from `render` is an error state and fills in any null components with dark red boxes. Unfortunately, this started taking a long time to fix and would require me setting up a dev environment, so I had to back off. I'll revisit this during the weekend if I can."},"comment":{"url":"https://api.github.com/repos/loggur/babel-plugin-react-error-catcher/issues/comments/136873411","html_url":"https://github.com/loggur/babel-plugin-react-error-catcher/issues/10#issuecomment-136873411","issue_url":"https://api.github.com/repos/loggur/babel-plugin-react-error-catcher/issues/10","id":136873411,"user":{"login":"dallonf","id":346300,"avatar_url":"https://avatars.githubusercontent.com/u/346300?v=3","gravatar_id":"","url":"https://api.github.com/users/dallonf","html_url":"https://github.com/dallonf","followers_url":"https://api.github.com/users/dallonf/followers","following_url":"https://api.github.com/users/dallonf/following{/other_user}","gists_url":"https://api.github.com/users/dallonf/gists{/gist_id}","starred_url":"https://api.github.com/users/dallonf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dallonf/subscriptions","organizations_url":"https://api.github.com/users/dallonf/orgs","repos_url":"https://api.github.com/users/dallonf/repos","events_url":"https://api.github.com/users/dallonf/events{/privacy}","received_events_url":"https://api.github.com/users/dallonf/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T21:48:28Z","updated_at":"2015-09-01T21:48:28Z","body":"Works like a charm! :grin: Thanks"}}