6 kyu
Easter egg list in ReactJS
2,316richkotze
Loading description...
React
Lists
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
All the test are passing, but when I submit the attempt I get the following error: EasterEgg should render li element with a name Test Failed Failure TypeError: Cannot read property 'contextTypes' of undefined
https://www.codewars.com/kata/5a95947f4a6b342636000173/train/javascript
When I try to submit it it gives error expected "Bunny" and my result shows " Bunny "
Has it been resolved?
The task points to the recommendation of avoiding indexes in keys and yet tests exactly that. Why not using egg names instead of index for keys? Still thanks for the kata!
This comment has been hidden.
In any case it gives the same error, even if the file is empty ----> "Invariant Violation: Minified React error #105;"
Can anyone check my code? For some reason, I'm getting an error on my end.
There are no checks that
EasterEgg
is implemented properly, or it's actually a<li>
element:https://www.codewars.com/kata/reviews/5a9acfa46e8a836c870023ad/groups/5a9e08f57ce11068320020a2
Added a test to check
EasterEgg
returns a li element and has the name inside.