Angular directive composition
Let’s take a look at one of the most awaited Angular features - https://kevinkreuzer.medium.com/angular-directive-composition-e7d9f789323
#angular
Let’s take a look at one of the most awaited Angular features - https://kevinkreuzer.medium.com/angular-directive-composition-e7d9f789323
#angular
Medium
Angular directive composition
Let’s take a look at one of the most awaited Angular features
👍5👏1
CSS Custom Properties Beyond the :root
Matthias Ott examines the reasons why we’re usually defining global custom properties on :root element. - https://matthiasott.com/notes/custom-properties-beyond-the-root
#css
Matthias Ott examines the reasons why we’re usually defining global custom properties on :root element. - https://matthiasott.com/notes/custom-properties-beyond-the-root
#css
Matthias Ott – User Experience Designer
CSS Custom Properties Beyond the :root · Matthias Ott
Matthias Ott is an independent user experience designer and developer from Stuttgart, Germany. Besides design practice he teaches Interface Prototyping at the Muthesius Academy of Fine Arts and Design, Kiel.
👍6❤1
Vue Mastery: The smart way to add external scripts to your Vue app
In this tutorial, we will be creating a Vue component which can load any number of external scripts into our Vue app without blocking the smooth execution and rendering of our code, and emit events to notify us when each script has been downloaded. - https://leighola.hashnode.dev/vue-mastery-the-smart-way-to-add-external-scripts-to-your-vue-app
#vue
In this tutorial, we will be creating a Vue component which can load any number of external scripts into our Vue app without blocking the smooth execution and rendering of our code, and emit events to notify us when each script has been downloaded. - https://leighola.hashnode.dev/vue-mastery-the-smart-way-to-add-external-scripts-to-your-vue-app
#vue
👍6
Turbopack: Is Vercel's newest toy better than Vite?
Vercel just introduced Turbopack, an incremental bundler optimized for JS. But what is Turbopack? And is it… - https://blog.bitsrc.io/turbopack-is-vercels-newest-toy-better-than-vite-32abcf95ee43
#turbopack
Vercel just introduced Turbopack, an incremental bundler optimized for JS. But what is Turbopack? And is it… - https://blog.bitsrc.io/turbopack-is-vercels-newest-toy-better-than-vite-32abcf95ee43
#turbopack
Medium
Turbopack: Is Vercel's newest toy better than Vite?
Vercel just introduced Turbopack, an incremental bundler optimized for JS. But what is Turbopack? And is it the successor to Webpack?
👍4❤3
Advanced Multistep Forms with React Hook Form - https://claritydev.net/blog/advanced-multistep-forms-with-react
#react
#react
claritydev.net
Advanced Multistep Forms with React Hook Form
In a previous post, we built a basic multistep registration form using React and React Hook Form. In this article, we'll expand upon that foundation by implementing improvements, such as enabling data saving during step navigation and enhancing the visual…
👍7
CSS Logical Properties: A good use case
Wes Bos shares a practical use case for CSS Logical Properties. - https://www.youtube.com/watch?v=IS698Tc5M7Q
#css
Wes Bos shares a practical use case for CSS Logical Properties. - https://www.youtube.com/watch?v=IS698Tc5M7Q
#css
YouTube
CSS Logical Properties: A good use case
CSS logical properties specifies width/height/padding/border/etc using inline + block instead of top + bottom.
But where is that actually useful?
Heres a good example I just ran into with writing-mode: vertical-rl;
But where is that actually useful?
Heres a good example I just ran into with writing-mode: vertical-rl;
👍6
The Most Important Thing You Need To Understand About Angular
The Angular “Template Context” is a practically useful mental model, which once internalized, will be your… - https://tomastrajan.medium.com/the-most-important-thing-you-need-to-understand-about-angular-5f2b3afcac38
#angular
The Angular “Template Context” is a practically useful mental model, which once internalized, will be your… - https://tomastrajan.medium.com/the-most-important-thing-you-need-to-understand-about-angular-5f2b3afcac38
#angular
Medium
The Most Important Thing You Need To Understand About Angular
The Angular “Template Context” is a practically useful mental model, which once internalized, will be your main guide on the journey to…
👍7❤1
Over 100 Algorithms and Data Structures Demonstrated in JS
Examples of many common algorithms (e.g. bit manipulation, Pascal’s triangle, Hamming distance) and data structures (e.g. linked lists, tries, graphs) with explanations. - https://github.com/trekhleb/javascript-algorithms
#javascript
Examples of many common algorithms (e.g. bit manipulation, Pascal’s triangle, Hamming distance) and data structures (e.g. linked lists, tries, graphs) with explanations. - https://github.com/trekhleb/javascript-algorithms
#javascript
GitHub
GitHub - trekhleb/javascript-algorithms: 📝 Algorithms and data structures implemented in JavaScript with explanations and links…
📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings - trekhleb/javascript-algorithms
👍12🤯1
A Practical Guide to Not Blocking the Event Loop
Typically, JavaScript engines run JavaScript in a single thread with an event loop. However, the nature of mixing synchronous and asynchronous tasks, along with the increasing popularity of workers for running code on separate threads, makes the landscape harder to navigate than it used to be. - https://www.bbss.dev/posts/eventloop/
#nodejs
Typically, JavaScript engines run JavaScript in a single thread with an event loop. However, the nature of mixing synchronous and asynchronous tasks, along with the increasing popularity of workers for running code on separate threads, makes the landscape harder to navigate than it used to be. - https://www.bbss.dev/posts/eventloop/
#nodejs
Building Better Software Slower
Practical Guide To Not Blocking The Event Loop
JavaScript runs in a single-threaded environment with an event loop, an architecture that is very easy to reason about. It's a continuous loop executing incoming work. Synchronous work runs immediately; asynchronous work runs when there is no synchronous…
👍3🔥2
Logging in and Logging Out
The article explains how to create a user authentication system using Supabase and integrate it with Nuxt 3, the popular Vue.js framework for building web applications. - https://masteringnuxt.com/blog/logging-in-and-logging-out
#vue
The article explains how to create a user authentication system using Supabase and integrate it with Nuxt 3, the popular Vue.js framework for building web applications. - https://masteringnuxt.com/blog/logging-in-and-logging-out
#vue
Masteringnuxt
Auth in Nuxt 3
In this second article, we’ll go over how to use Supabase and Github to log our users in and out of our application.
👍6
Conditional CSS with :has and :nth-last-child
Ahmad Shadeed highlights a few examples of where you can combine a CSS selector with :has() to create conditional component/layout states. - https://ishadeed.com/article/conditional-css-has-nth-last-child
#css
Ahmad Shadeed highlights a few examples of where you can combine a CSS selector with :has() to create conditional component/layout states. - https://ishadeed.com/article/conditional-css-has-nth-last-child
#css
Ishadeed
Conditional CSS with :has and :nth-last-child
A modern look at how to combine CSS :has, :nth-last-child, and style queries to create dynamic components.
👍5
How to Write Comments in React: The Good, the Bad and the Ugly
{/* Writing comments like this */ } is the usual way to write comments in JSX, but there are two other ways you should also know. - https://dmitripavlutin.com/react-comments/
#react
{/* Writing comments like this */ } is the usual way to write comments in JSX, but there are two other ways you should also know. - https://dmitripavlutin.com/react-comments/
#react
Dmitri Pavlutin Blog
How to Write Comments in React: The Good, the Bad and the Ugly
{/* Comment */} is the usual way to write comments in React. But there are 2 better ways to comment you just have to know.
👍8❤2
Use Inheritance to Unsubscribe from Observables
A reuse method to unsubscribe from observables - https://medium.com/cp-massive-programming/angular-user-inheritance-to-unsubscribe-from-observables-f5617fbbd8f2
#angular
A reuse method to unsubscribe from observables - https://medium.com/cp-massive-programming/angular-user-inheritance-to-unsubscribe-from-observables-f5617fbbd8f2
#angular
Medium
Angular | Use Inheritance to Unsubscribe from Observables
A reuse method to unsubscribe from observables
👍8
A Business Case for SvelteKit
A good post covering the experience of migrating from Meteor to SvelteKit, the process this team undertook, and the outcomes from both a performance and UX point of view. - https://elliscs.hashnode.dev/a-business-case-for-sveltekit
#sveltekit
A good post covering the experience of migrating from Meteor to SvelteKit, the process this team undertook, and the outcomes from both a performance and UX point of view. - https://elliscs.hashnode.dev/a-business-case-for-sveltekit
#sveltekit
👍5
Deopt Explorer: A VS Code Extension to Inspect V8 Trace Log Info
A thorough introduction to a new tool from Microsoft for performing advanced analysis of data coming from the V8 engine’s internals, including CPU profile data, how inline caches operate, deoptimizations, how functions were run (interpreted or compiled) and more. - https://devblogs.microsoft.com/typescript/introducing-deopt-explorer/
#nodejs
A thorough introduction to a new tool from Microsoft for performing advanced analysis of data coming from the V8 engine’s internals, including CPU profile data, how inline caches operate, deoptimizations, how functions were run (interpreted or compiled) and more. - https://devblogs.microsoft.com/typescript/introducing-deopt-explorer/
#nodejs
Microsoft News
Introducing Deopt Explorer
Over the past few months, during the lead-up to the TypeScript 5.0 beta, our team spent a good portion of our time looking for ways to improve the performance of our compiler so that your projects build faster. One of the ways we improved was by looking into…
👍4❤1
Integrating Google sheets api with nuxt 3
This guide will walk you through how to use the Google Sheets API as a database and pair it with a Nuxt.js 3 application. - https://zachary.hashnode.dev/how-to-use-google-sheets-with-nuxt-3
#vue
This guide will walk you through how to use the Google Sheets API as a database and pair it with a Nuxt.js 3 application. - https://zachary.hashnode.dev/how-to-use-google-sheets-with-nuxt-3
#vue
👍7
How to access the component inside <ng-content> using ContentChild
When creating components in Angular, sometimes we want to put one component inside another. To do this, we… - https://medium.com/@matsal.dev/angular-how-to-access-the-component-inside-ng-content-using-contentchild-2e88b455b6c2
#angular
When creating components in Angular, sometimes we want to put one component inside another. To do this, we… - https://medium.com/@matsal.dev/angular-how-to-access-the-component-inside-ng-content-using-contentchild-2e88b455b6c2
#angular
Medium
Angular: How to access the component inside <ng-content> using @ContentChild
When creating components in Angular, sometimes we want to put one component inside another. To do this, we can either declare a component…
👍7
Solving Media Object Float Issues With CSS Block Formatting Contexts
Gabriel Shoyombo covers common problems with CSS floats and how to solve them using a block formatting context (BFC). - https://www.smashingmagazine.com/2023/05/media-object-float-issues-css-block-formatting-contexts
#css
Gabriel Shoyombo covers common problems with CSS floats and how to solve them using a block formatting context (BFC). - https://www.smashingmagazine.com/2023/05/media-object-float-issues-css-block-formatting-contexts
#css
Smashing Magazine
Solving Media Object Float Issues With CSS Block Formatting Contexts — Smashing Magazine
This article covers common problems using CSS floats and how to solve them using a block formatting context (BFC). Whether you are a beginner or an experienced web developer, you will learn valuable insights and practical solutions for dealing with CSS float…
👍6
Nine Hours on React Router 6
A pretty epic video from Scrimba’s Bob Ziroll that you’ll need a lot of coffee to get through, but you get to see the development of a complete app based around React Router, and it’s free. - https://www.youtube.com/watch?v=nDGA3km5He4
#react
A pretty epic video from Scrimba’s Bob Ziroll that you’ll need a lot of coffee to get through, but you get to see the development of a complete app based around React Router, and it’s free. - https://www.youtube.com/watch?v=nDGA3km5He4
#react
YouTube
React Router 6 – Full Course
This course will teach you to build real-world apps with React Router 6. Click here to get to the interactive version 👉 https://scrimba.com/links/react-router-6-course
Throughout the course, you’ll be building an app called “VanLife” – an Airbnb-style web…
Throughout the course, you’ll be building an app called “VanLife” – an Airbnb-style web…
👍9❤2
Reducing the Cost of String Serialization in Node's Core
Is it possible to reduce the cost of string serialization in Node, particularly in the context of URL parsing? Research was done and the answer is.. yes, by quite a lot too. Benchmarks included. - https://www.yagiz.co/reducing-the-cost-of-string-serialization-in-nodejs-core
#nodejs
Is it possible to reduce the cost of string serialization in Node, particularly in the context of URL parsing? Research was done and the answer is.. yes, by quite a lot too. Benchmarks included. - https://www.yagiz.co/reducing-the-cost-of-string-serialization-in-nodejs-core
#nodejs
Yagiz Nizipli's blog
Reducing the cost of string serialization in Node.js core
Serializing strings in Node.js has been a pain point for web developers, particularly when it comes to URL operations. Recently, we conducted a research to reduce the cost of string serialization in Node.js core particularly in the context of URL parsing…
👍7