Coding on a larger monitor and want the code to be on the center of your screen ? On #VSCode (@code) you can change the appearance to Center Layout. View > Appearance > Center Layout.

Editors

If you're a Vue developer and haven't embraced <PascalCase> for your component names yet, I highly recommend it. 👍 This creates a clear distinction between your Vue components and regular HTML elements.

Vue.js

JavaScript Tip 💡 Did you know that you can cancel a fetch request using an AbortController? A common use-case is React: If a component unmounts while a fetch call is awaited, it can be useful to abort the call.

JavaScript

This might be widely known, but I had no idea that since Laravel 5.5 there's auth and guard Blade directives. I've been using if(Auth::check()) this whole time!

Laravel

JavaScript Tip 💡 Instead of using find(), or manually searching a list for an occurrence, use the array method some() instead. It’s built for exactly that purpose.

JavaScript

JavaScript Tip 💡 Memoization is one of the most used optimization techniques. Check what it is and how it works 👇

JavaScript

🌟 New in Canary - Improved properties inspection for the Custom Elements. No more long scrolling to look for the #WebComponent properties. Like it? Try it in Chrome Canary. https://t.co/dhC2EFGqmx

Browsers

💛 JavaScript tip 💛 Did you know that you can use numeric separators to make large numbers more readable? It may sound trivial, but this can save anyone reading your code a lot of time! 👇🏻

JavaScript

Today's @code tip: terminal tabs View and manage all of your integrated terminals. You can even drag and drop tabs to move terminals around https://t.co/s7uKrBl09T #code2020

Editors

Just discovered Laravel's "@.production" blade directive. So useful for all sorts of analytics-y things inside <head> 👌

Laravel

JavaScript Tip 💡 Use the property valueAsNumber to get the numeric number from an input field through an event. Here's an example in React 👇

JavaScript

TypeScript Tip 💡 ️Did you know? You can assign field variables inline using TypeScript ✌️

JavaScript

The tweet will be reviewed and posted as soon as possible

{{ newSnippetForm.errors.url[0] }}

{{ newSnippetForm.errors.categories[0] }}