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 trialJere Green
1,029 PointsThe initial downloaded code for video 2 has multiple bugs
Among the bugs are:
-
Stopwatch:componentDidMount
usessetInterval
without a delay argument which doesn't seem well-documented by MDN and doesn't seem discussed much on the web. In Firefox (55) the timer fires once and stops rather than repeating -
Stopwatch:getInitialState
has a misspelled keypreviouseTime
that wreaks havoc on the correct logic
Probably frustrating and difficult to troubleshoot for beginning learners
- When trying to get strange failures to work , it can be difficult to know what might be wrong
- e.g. what if it is a browser cache problem because you can't seem to get the right code version in the browser
- they also have to remember to manually rebuild and re-serve the changed app at this point in the training
1 Answer
ac casc
Full Stack JavaScript Techdegree Student 3,778 PointsWell, too bad!