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 trial

JavaScript Configuring Webpack

The initial downloaded code for video 2 has multiple bugs

Among the bugs are:

  1. Stopwatch:componentDidMount uses setInterval 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
  2. Stopwatch:getInitialState has a misspelled key previouseTime 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

Well, too bad!