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

added invariant check for null data values #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wmyers
Copy link

@wmyers wmyers commented Sep 18, 2017

Why is this change necessary?

  • If a falsy data prop is passed in to a Radar component then a deep React rendering error occurs.

How does it address the issue?

  • Adding invariant (for meaningful errors in non-PRODUCTION envs) to log if data is passed with a falsy value.

What side effects does this change have?

  • None

How was it tested?

  • Should pass test suite

@wmyers wmyers self-assigned this Sep 18, 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
1 participant