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

Failed prop type: The prop name is marked as required in t, but its value is undefined. #183

Closed
Robert-Fish opened this issue Jan 28, 2019 · 3 comments

Comments

@Robert-Fish
Copy link

Hi i was wondering if you could explain why i'm receiving this issue. For context, i'm mapping an object from my redux store as props.

@vprefournier
Copy link

I have the same problem, did you find a workaround or a solution?

@bkrem
Copy link
Owner

bkrem commented May 13, 2019

@Robert-Fish @vprefournier

Yeah this was a remnant of the original use case this lib was built on top of, where a name for each node was required unconditionally.

Since this seems to be a significant annoyance and wouldn't cause a breaking changes if removed I'll publish a fix version in a few minutes that removes the isRequired on the node name propType.

@bkrem
Copy link
Owner

bkrem commented May 13, 2019

Published as 1.12.4.

This should no longer be an issue regardless of your data's shape :)

Feel free to reopen if the issue does persist.

@bkrem bkrem closed this as completed May 13, 2019
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