Skip to content
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

Add better error message when there's no React element in the story. #534

Merged
merged 2 commits into from
Oct 5, 2016

Conversation

arunoda
Copy link
Member

@arunoda arunoda commented Oct 5, 2016

As suggested on #532 we now throw proper error messages when there's no React element returned from the story.

See:

When there's no element.
screen shot 2016-10-05 at 8 12 46 pm

When it's not a valid React element.
screen shot 2016-10-05 at 8 12 58 pm

We may not get a story due to some user errors.
We can them suggest what's happening to the user.
@arunoda arunoda merged commit 4e8352f into master Oct 5, 2016
@arunoda arunoda deleted the handle-missing-element-in-story branch October 5, 2016 15:25
@shilman shilman added the misc label May 27, 2017
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

Successfully merging this pull request may close these issues.

2 participants