课程: Learning JavaScript Debugging

今天就学习课程吧!

今天就开通帐号,24,700 门业界名师课程任您挑!

Debugging a React application in Chrome

Debugging a React application in Chrome - JavaScript教程

课程: 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…

内容