Skip to content

Document that React.render() may return null if component doesn't have an instance/state #4913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jimfb opened this issue Sep 18, 2015 · 3 comments
Assignees
Milestone

Comments

@jimfb
Copy link
Contributor

jimfb commented Sep 18, 2015

Assuming we keep this behavior, it's worth noting in the documentation that React.render() may return null in cases where the component doesn't have any instance state.

@zpao
Copy link
Member

zpao commented Sep 18, 2015

(removing "good first bug" since this would be best done by somebody with more knowledge about React)

@blainekasten
Copy link
Contributor

Looks like this can be closed since #4964 was merged and is marked as fixing this issue. cc @zpao

@jimfb
Copy link
Contributor Author

jimfb commented Oct 1, 2015

Correct, thanks!

@jimfb jimfb closed this as completed Oct 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants