Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLam Duong
429 PointsWarning: setState(...): You passed an undefined or null state object; instead, use forceUpdate().
Everything works fine but there is still a warning
Lam Duong
429 Pointshere is the code https://w.trhou.se/5xmofg5cmb
Zack Lee
Courses Plus Student 17,662 Pointsis there a line number associated with the warning?
1 Answer
Ryan Mayo
23,604 PointsHere you go: on line 206 you have the second .state capitalized like "this.setState(this.State);" should be: "this.setState(this.state);"
Ari Misha
19,323 PointsAri Misha
19,323 PointsHiya there! Can you post your code here in order to understand what exactly is wrong with code? (:
~ Ari