bionsex.blogg.se

Inspect chrome
Inspect chrome







inspect chrome

We have here an empty DIV and a script ta, and that's it, this is all that the server rendered. But, if we go to view the page source, you're going to see that this isn't very useful either, but for the opposite reason. When you hover of this, whatever, it's a simple React application. When you click the kitten, the counter increments. At the other end of the spectrum, if you go to something like a React application, here's a very simple React application. Here's the Wikipedia page for JavaScript, and if you view the source, and this is just what came down from the server, you're going to find so much crap, a lot of vendor-specific stuff, you're going to find a ton of inline JavaScript and CSS, you're going to find all of these spans, there's just a ton of crap that isn't actually helpful to you. At some point the things that we started doing started getting so complex that view source became a little bit less useful. So you could look and you could see, "Oh, look, here's a button, here's a DIV, here's a paragraph tag. What that does is spit out everything that is in the HTML file that the server sent your browser, and it's going to show you the content of that file without rendering it.

inspect chrome

You could ask the browser to show you the source of the HTML that you're looking at. Anyone who remembers poking around in HTML in the '90s or even in the early '00s might be remember that the was this amazing thing that you could do that made Web development different from other software.









Inspect chrome