Skip to content

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

Merged
arunoda merged 2 commits intomasterfrom
handle-missing-element-in-story
Oct 5, 2016
Merged

Add better error message when there's no React element in the story.#534
arunoda merged 2 commits intomasterfrom
handle-missing-element-in-story

Conversation

@arunoda
Copy link
Copy Markdown
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
@nx-cloud
Copy link
Copy Markdown

nx-cloud bot commented May 5, 2025

View your CI Pipeline Execution ↗ for commit f0fce9a

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 56s View ↗

☁️ Nx Cloud last updated this comment at 2025-09-30 19:17:58 UTC

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