

Dev Tools Tabs Explained — Plus Tips & Tricks
source link: https://syntax.fm/show/344/dev-tools-tabs-explained-plus-tips-and-tricks
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

In this episode of Syntax, Scott and Wes talk about dev tools tabs, what each tab does and how you can use them.
Vonage - Sponsor
Vonage is a Cloud Communications platform that allows developers to integrate voice, video and messaging into their applications using their communication APIs. Whether you’re wanting to build video calls into your app, create a Facebook bot, or build applications on top of programmable phone numbers, you’ll have all the tools you need. Use promo code SYNTAX10 for €10 of free credit when signing up at vonage.dev/syntax.
Freshbooks - Sponsor
Get a 30 day free trial of Freshbooks at freshbooks.com/syntax and put SYNTAX in the "How did you hear about us?" section.
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Show Notes
3:50 - Network
- See all requests, filter by type or name
- Used to understand all requests coming or going
- Turn off caching
- View timing
- See the true GZIP size
- Slow down network speed
- See time for page load
- Copy as fetch or CURL
- View request, response, and headers
- See CORS issues
- See which requests have happened
- See if an asset is cached (both in dev tools, also Cloudflare)
- See blocked requests because of extensions
- Tip: You can see the network info from the console in Firefox
22:03 - Memory
- See what is taking up memory
- Strings
- DOM nodes
- Objects
- Actual .js
26:44 - Performance
- Click record and use the site
- Flame chart useful for finding slow functions and debugging janky animations
- Get FPS in coordination with flame chart
- Save performance recording data to be able to share for debugging
- You can also upload saved data to debug without using the site
30:48 - Console
- Interfaces with the JS runtime
- Shows errors, warnings, and logs
- Tip: Negate noisy warnings/errors that clutter your console with
-
- Tip: Use $0 to select current element
- $1 for second last
- $r for current React element
- Tip: Use $$ to shortcut Query SelectorAll and Array.from
- Tip: Use $ to shortcut Query Selector
40:28 - Storage / Application
- Working with LocalStorage, Cookies, Index DB, and Session Storage
44:56 - Audit / Lighthouse (Chrome and Firefox)
- Run lighthouse to check for performance, accessibility, and UI stuff
- Not the silver bullet audit that many people think it is
- Colors are sometimes like "Really?!"
- Can be helpful regardless
50:28 - DOM Tab
- Firefox only
- Shows everything that is in the scope of the browser
Links
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
- Scott: Node Fundamentals Authentication - Sign up for the year and save 25%!
- Wes: All Courses - Use the coupon code 'Syntax' for $10 off!
Tweet us your tasty treats!
Recommend
-
14
Tabs vs. Spaces show on Developer toolsSkip to content Christian Heilmann...
-
6
Svelte for the Experienced React Dev Adam Rackis on May 21, 2021 Find and fix web accessibility issues with ease using axe DevTools Pro....
-
6
What is SEO copywriting? SEO copywriting is the process of creating well-optimized content that attracts users and allows search engines to represent your content on SERPs better. And in this guide, we’ll go over the basics of SEO copy...
-
8
Kubernetes Explained Simply: Containers, Pods and Images Lari Maza on Jul 5, 2021 Learn Development at
-
7
#Flutter #TestingFlutter Unit Testing Explained | Testing Series Codepur.dev1,85...
-
6
ios Front-End Dev Shortcuts in iOS 15 Geoff Graham on Sep 29, 2021 (Updated on Sep 30, 2021)
-
5
-
7
@zadr's iOS 7 dev tricks Sep 20, 2013 @zadr 在 iOS 7 正式发布几个小时后在 Twitter 上连续发了一些 iOS 7 SDK 小技巧,大部分都是我还不知道的东西,...
-
15
dotNET19 July, 20225 tricks every C# dev should know about LINQPad
-
5
◀ Back to NotesPublished on April 21, 2023Keyboard tricks from a macOS app dev This...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK