From the course: Learning JavaScript Debugging

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Debugging a React application in Chrome

Debugging a React application in Chrome - JavaScript Tutorial

From the course: Learning JavaScript Debugging

Debugging a React application in Chrome

- [Instructor] In this video, we're going to look at an example using React with both the built-in debugger and React's own custom developer tools. If you've never seen React before, it's a very popular JavaScript user interface framework based on components. So you break up your project into logical pieces with their own bits of data all built in JavaScript and assemble your UI from those components. As we'll see, the syntax used in building those components is different than you might have seen before. But ultimately, it's all JavaScript. This example involves some Ajax, so to run it successfully, you'll need a local web server. I'm using MAMP, which is available for macOS or Windows, but there are tons of options available. If you don't have a local web server like this and you want to learn more, you can search the library for Apache or local web server and find lots of videos with more detail. I've copied the exercise…

Contents