A look at some βunder-the-radar' web features, such as the Screen Orientation API and Device Orientation API, and how they can be used to create user friendly, robust PWAs.
Link to the article
#js #api
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯4π¨βπ»3π2
Qwik 1.6 β Qwik 2 is coming soon, though.
A raft of Node.js Security Releases are due on July 8.
ESLint 9.6 - This release adds some new features and fixes several bugs found in the previous release.
PrimeVue 4.0 - Brand New Theming API, Tailwind CSS Integration, Enhanced UI Component Suite, Optimized Tree-Shaking, MonoRepo for add-ons
Bun 1.1.18 - This release fixes 55 bugs, Support for npmrc, etc.
#releases #js #frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯5π3π2
A look at how Ahmad solved a spacing design problem with the CSS cap unit.
Link to the article
#css
Please open Telegram to view this post
VIEW IN TELEGRAM
π5π₯2π¨βπ»2
As front-end developers, we create visually appealing and interactive interfaces for our applications. However, we also need to prioritize the security of our applications. One of the most significant security threats is Cross-site scripting (XSS) attacks, which can allow attackers to insert malicious scripts into our applications.
Link to the article
#vue #security #xss #frontend #js
Please open Telegram to view this post
VIEW IN TELEGRAM
π5π₯2π2
Discover all the ways to implement redirects in Nuxt with this comprehensive guide. Learn about server-side, universal, and client-side redirects, along with their pros and cons. Check out the full demo app showcasing each method to see practical examples in action.
Link to the article
#vue #nuxt #router #js #frontend #ssr
Please open Telegram to view this post
VIEW IN TELEGRAM
π7π₯2π¨βπ»2
Late last year, the team at The New York Times set out to take full advantage of React 18 on its flagship news site. This is an interesting case study looking at the challenges faced in upgrading and the significant benefits they managed to take advantage of.
Link to the article
#react #js #frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
π4π₯3π¨βπ»2π€£1
Using frameworks, such as Expo, is now the recommended approach when creating new React Native apps. As Nicola explains: βyouβre either using a framework or youβre building your own framework.β
Link to the article
#react #reactnative #js #frontend
Please open Telegram to view this post
VIEW IN TELEGRAM
π4π₯4π¨βπ»3
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