You can 'cancel' XHR and fetch requests, but can you cancel regular promises? Currently, no, but Zachary looks into doing the next best thing: telling a promise the game's up, and discarding/ignoring its eventual results.
Link to the article
#js #frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯3π2π¨βπ»2
How to create circular text (animated too if you want) with just pure CSS. A nice decorative element.
Link to the article
#css #frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
π¨βπ»4π2π₯2
A helpful collection of over 20 plain language guides, covering things such as working with the different core web vitals, optimization techniques, critical CSS, metrics, user monitoring, and more. Youβre bound to find some worthwhile advice here.
Link to the article
#js #frontend #css #html #performance
Please open Telegram to view this post
VIEW IN TELEGRAM
π5π₯4π¨βπ»2
This talk gets into the nitty gritty of layout options with CSS (think grid, subgrid, gap etc) β with a particular focus on the proposed, new CSS masonry method, what it aims to fix and the prototyping currently underway in Chrome. A good overview of where we are, and where things are heading in terms of laying out our pages
Link to the video
#frontend #css #video
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯3π2π±2
Makes pragmatic recommendations on how we can use container queries now (whilst still supporting older browsers).
Link to the article
#css #frontend #google
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯4π2π¨βπ»2
When a manga or anime character is surprised, lines often focus on and highlight their face. This post looks at how to create a similar effect with HTML and CSS.
Link to the article
#css #frontend #html
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯3π±3π1
When to use them, what alternative input fields to consider, and usability guidelines to keep in mind.
Link to the article
#css #html #design #frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯4π2π¨βπ»2
A look at how to pre-render pages on your site. Thereβs a demo included to so you can get a feel for how it works.
Link to the article
#frontend #performance #render #engine
Please open Telegram to view this post
VIEW IN TELEGRAM
π5π₯3π¨βπ»2
Vueβs reactivity can be imported and used in JS outside of a Vue app, like in Node directly.
Link to the article
#vue #js #node #reactivity #ref #frontend
#article
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯7π4π¨βπ»3
We are a big fan of ES6 destructuring and recently discovered that you can use it in v-for.
First, let's take a look at a v-for without using ES6 destructuring:
<div v-for="article in articles" :key="article.id">
<h2>{{ article.title }}</h2>
</div>
articles is a list of article JavaScript objects and has the type Article[]:
interface Article {
title: string
id: string
}
We can use ES6 destructuring which results in a cleaner template code:
<div v-for="{id, title} in articles" :key="id">
<h2>{{ title }}</h2>
</div>
#vue #js #frontend #destructuring
#tip
Please open Telegram to view this post
VIEW IN TELEGRAM
π8π₯5π4π¨βπ»2
NuxtHub is a deployment and admin platform making it possible to build and deploy fullstack Nuxt application with ease. In this article they will explore this amazing new tool and what capabilities it offers to the ecosystem.
Link to the article
#vue #nuxt #frontend #backend #js #fullstack
#article
Please open Telegram to view this post
VIEW IN TELEGRAM
π3π₯2π¨βπ»2π±1
Now more broadly known as xyflow, this mature library makes it easy to create βnode-based UIsβ where you want to have numerous interactive components wired together however you choose. Version 12 introduces server side rendering support, dark mode, more hooks and helpers, and better DX via TSDoc.
Link to the release
#react #js #frontend #diagrams #xyflow #lib
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯3π2π2
Closures can lead to memory leaks in React and while the new and exciting React Compiler can tackle a lot of issues and make most codebases more performant, it pays to be aware of the tricky edge cases.
Link to the article
#react #js #frontend #memory #leaks
#article
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯3π2π2
This media is not supported in your browser
VIEW IN TELEGRAM
This post sets out to βinspire you and show you that thinking outside the box can lead to some great animationsβ β all via the magic of the very powerful clip-path CSS property.
Link to the article
#frontend #css #html
#article
Please open Telegram to view this post
VIEW IN TELEGRAM
π8π3π₯2