Headless Component: A Pattern for Composing React UIs
Posting on the Martin Fowler blog, an engineer at Atlassian takes us on a (very) practical journey into the concept of headless components and the pattern of having reusable logic and behavior separate from the presentation of UI elements. - https://martinfowler.com/articles/headless-component.html
#react
Posting on the Martin Fowler blog, an engineer at Atlassian takes us on a (very) practical journey into the concept of headless components and the pattern of having reusable logic and behavior separate from the presentation of UI elements. - https://martinfowler.com/articles/headless-component.html
#react
martinfowler.com
Headless Component: a pattern for composing React UIs
Separates state management logic from the visual representation
👍7❤3
AbortController — Abort ongoing calls in Vue with Axios interceptor
This article introduces Axios Interceptor to help intercept requests or responses before they are handled by the then or catch methods. Read more to find out how to implement this in a Vue.js application. - https://medium.com/@rado.sabo/abortcontroller-abort-ongoing-calls-in-vue-with-axios-interceptor-584c9f0566a6
#vue
This article introduces Axios Interceptor to help intercept requests or responses before they are handled by the then or catch methods. Read more to find out how to implement this in a Vue.js application. - https://medium.com/@rado.sabo/abortcontroller-abort-ongoing-calls-in-vue-with-axios-interceptor-584c9f0566a6
#vue
Medium
AbortController — Abort ongoing calls in Vue with Axios interceptor
Let’s say a user of your application can make multiple API calls in a short period, but you only want to display the result of the last…
👍4
Mastering TypeScript: A Guide to Choosing Between ‘type’ and ‘interface’
Choosing between ‘type’ and ‘interface’ in TypeScript can be confusing, but understanding their differences… - https://levelup.gitconnected.com/mastering-typescript-a-guide-to-choosing-between-type-and-interface-c31d3527693b
#typescript
Choosing between ‘type’ and ‘interface’ in TypeScript can be confusing, but understanding their differences… - https://levelup.gitconnected.com/mastering-typescript-a-guide-to-choosing-between-type-and-interface-c31d3527693b
#typescript
Medium
Mastering TypeScript: A Guide to Choosing Between ‘type’ and ‘interface’
Choosing between ‘type’ and ‘interface’ in TypeScript can be confusing, but understanding their differences can improve the code…
👍7
A Simple WebSocket Benchmark: Node vs Bun
Using as ‘textbook’ an example of WebSocket communication as possible, the author pits Node and Bun against each other. - https://lemire.me/blog/2023/11/25/a-simple-websocket-benchmark-in-javascript-node-js-versus-bun/
#nodejs
Using as ‘textbook’ an example of WebSocket communication as possible, the author pits Node and Bun against each other. - https://lemire.me/blog/2023/11/25/a-simple-websocket-benchmark-in-javascript-node-js-versus-bun/
#nodejs
👍5❤1
CSS Art Tutorial: Creating a simple Santa Claus
Eleftheria Batsou shows how to build an illustration of Santa Claus with HTML and CSS. - https://blog.eleftheriabatsou.com/css-art-creating-a-santa-claus
#css
Eleftheria Batsou shows how to build an illustration of Santa Claus with HTML and CSS. - https://blog.eleftheriabatsou.com/css-art-creating-a-santa-claus
#css
❤3👍2🍾2
How I structure my Angular applications - https://medium.com/@dimitarg.stoev/how-i-structure-my-angular-applications-d7d91a2da2e3
#angular
#angular
Medium
How I structure my Angular applications
Introduction
👍6❤1👎1
Hexagonal Architecture: Structure Example
Hexagonal Architecture, also known as Ports and Adapters Architecture, is a design pattern that promotes… - https://medium.com/@alessandro.traversi/hexagonal-architecture-structure-example-7ea1d998954e
#architecture
Hexagonal Architecture, also known as Ports and Adapters Architecture, is a design pattern that promotes… - https://medium.com/@alessandro.traversi/hexagonal-architecture-structure-example-7ea1d998954e
#architecture
Medium
Hexagonal Architecture: Structure Example
Hexagonal Architecture, also known as Ports and Adapters Architecture, is a design pattern that promotes modularity and separation of…
👍6❤1
React Server Components, Without a Framework?
Could you use Server Components today without a full framework like Next.js in place? This practical investigation is very thorough, with plenty to enjoy and learn from. - https://timtech.blog/posts/react-server-components-rsc-no-framework/
#react
Could you use Server Components today without a full framework like Next.js in place? This practical investigation is very thorough, with plenty to enjoy and learn from. - https://timtech.blog/posts/react-server-components-rsc-no-framework/
#react
Tim's Tech Blog
React Server Components, without a framework?
Can we use React Server Components today, without a framework like Next.js? As our experiment shows, not without significant challenges - for now at least?
🤔4👍2❤1
7 Best Tools for Vue.js Micro Frontends
Microfrontends have revolutionized the way web applications are built and maintained. In this article, explore seven popular tools for Vue.js microfrontends to help you decide the best tools to implement Vue.js microfrontends. - https://blog.bitsrc.io/best-7-tools-for-vuejs-microfrontends-ebd6f4345979
#vue
Microfrontends have revolutionized the way web applications are built and maintained. In this article, explore seven popular tools for Vue.js microfrontends to help you decide the best tools to implement Vue.js microfrontends. - https://blog.bitsrc.io/best-7-tools-for-vuejs-microfrontends-ebd6f4345979
#vue
Medium
Best 7 Tools for VueJS Microfrontends
Maximize your Vue.js micro frontends development with Bit, Single-SPA, Vite, Vue.js Devtools, Vue Router, Pinia, and qiankun
👍5
oklch() Retains Perceived Lightness for Different Hue Angles
Stefan Judis explains how the oklch() color function enables the use of the P3 color space and allows color manipulations that retain perceived lightness. - https://www.stefanjudis.com/today-i-learned/oklch-perceived-lightness
#css
Stefan Judis explains how the oklch() color function enables the use of the P3 color space and allows color manipulations that retain perceived lightness. - https://www.stefanjudis.com/today-i-learned/oklch-perceived-lightness
#css
Stefanjudis
oklch() retains perceived lightness for different hue angles
The oklch() color function enables using the P3 color space but more importantly allows color manipulations that retain perceived lightness.
👍4
A Recap of the Electron Ecosystem in 2023
The Electron project takes December off so now's a good time to look at recent developments. Electron 28 is the final release of the year and uses Chromium 120, Node 18.18.2, and V8 12.0, plus ES module support has been enabled. - https://www.electronjs.org/blog/ecosystem-2023-eoy-recap
#nodejs
The Electron project takes December off so now's a good time to look at recent developments. Electron 28 is the final release of the year and uses Chromium 120, Node 18.18.2, and V8 12.0, plus ES module support has been enabled. - https://www.electronjs.org/blog/ecosystem-2023-eoy-recap
#nodejs
www.electronjs.org
Ecosystem 2023 Recap | Electron
Reflecting on the improvements and changes in Electron's developer ecosystem in 2023.
👍5
Say Goodbye to Setters and Getters: Angular’s Transform Option for Input Values
Starting from Angular v16.1.0, a new helpful feature has been introduced to provide an alternative and easy… - https://netbasal.com/say-goodbye-to-setters-and-getters-angulars-transform-option-for-input-values-88fd9442dcad
#angular
Starting from Angular v16.1.0, a new helpful feature has been introduced to provide an alternative and easy… - https://netbasal.com/say-goodbye-to-setters-and-getters-angulars-transform-option-for-input-values-88fd9442dcad
#angular
Medium
Say Goodbye to Setters and Getters: Angular’s Transform Option for Input Values
Starting from Angular v16.1.0, a new helpful feature has been introduced to provide an alternative and easy way to transform input values…
👍4👎1👏1🌭1
JavaScript's New Array Grouping Methods
A look at Object.groupBy and Map.groupBy. The proposal including these methods is currently at stage 3 at TC39, but initial support is creeping into dev builds of browsers. - https://philna.sh/blog/2023/09/14/javascript-array-grouping-methods/
#javascript
A look at Object.groupBy and Map.groupBy. The proposal including these methods is currently at stage 3 at TC39, but initial support is creeping into dev builds of browsers. - https://philna.sh/blog/2023/09/14/javascript-array-grouping-methods/
#javascript
Phil Nash
JavaScript is getting array grouping methods
Grouping items in an array is one of those things you've probably done a load of times. Each time you would have written a grouping function by hand or...
👍8❤1
How to Use Vue’s Routing System Like an Expert
The routing system in Vue is an essential tool for building modern and interactive web applications. It facilitates navigation between different views and components, contributing to a smooth and engaging user experience. In this article, you will delve into the world of Vue routing and learn how to use its routing system like an expert, making the most of this powerful feature. - https://medium.com/@dgongoragamboa/how-to-use-vues-routing-system-like-an-expert-c24058c99930
#vue
The routing system in Vue is an essential tool for building modern and interactive web applications. It facilitates navigation between different views and components, contributing to a smooth and engaging user experience. In this article, you will delve into the world of Vue routing and learn how to use its routing system like an expert, making the most of this powerful feature. - https://medium.com/@dgongoragamboa/how-to-use-vues-routing-system-like-an-expert-c24058c99930
#vue
Medium
How to Use Vue’s Routing System Like an Expert
The routing system in Vue is an essential tool for building modern and interactive web applications. It facilitates navigation between…
👍3🔥1
Why You Want Need React Query
Do you actually need React Query for ‘simple’ fetching of data from a server? Not if that’s purely how you look at it, but to handle the async state management that follows on from that fetching? Yes, it'll make your life a lot easier. See if Dominik convinces you. - https://tkdodo.eu/blog/why-you-want-react-query
#react
Do you actually need React Query for ‘simple’ fetching of data from a server? Not if that’s purely how you look at it, but to handle the async state management that follows on from that fetching? Yes, it'll make your life a lot easier. See if Dominik convinces you. - https://tkdodo.eu/blog/why-you-want-react-query
#react
tkdodo.eu
Why You Want React Query
Let's take a look at why you'd want a library like React Query, even if you don't need all the extra features it provides...
👍6❤1
Role Based Access Control in Angular templates
Are you implementing Role Bases Access Control in Angular templates? One way to do it is via *ngIf, but I… - https://itnext.io/role-based-access-control-in-angular-templates-2eeca497855
#angular
Are you implementing Role Bases Access Control in Angular templates? One way to do it is via *ngIf, but I… - https://itnext.io/role-based-access-control-in-angular-templates-2eeca497855
#angular
Medium
Role Based Access Control in Angular templates
Are you implementing Role Bases Access Control in Angular templates? One way to do it is via *ngIf, but I would not choose that path, since…
👍4
Should AVIF Be the Dominant Image Format on the Web?
Tim Severien explores how AVIF compares to competing image formats like JPEG and WebP. - https://tsev.dev/posts/2023-11-10-should-avif-be-the-dominant-image-format
#css
Tim Severien explores how AVIF compares to competing image formats like JPEG and WebP. - https://tsev.dev/posts/2023-11-10-should-avif-be-the-dominant-image-format
#css
Should AVIF be the dominant image format on the web?
Tim Severien
Blog of another senior web engineer
👍6
I Replaced npm, yarn and nvm with pnpm
npm hasn’t been the only package manager in town for many years. - https://pawelgrzybek.com/i-replaced-npm-yarn-and-nvm-with-pnpm/
#nodejs
npm hasn’t been the only package manager in town for many years. - https://pawelgrzybek.com/i-replaced-npm-yarn-and-nvm-with-pnpm/
#nodejs
pawelgrzybek.com
I replaced npm, yarn and nvm with pnpm | pawelgrzybek.com
It stands for a “performant npm”, which is not a stretch because it is much faster than any other package manager I used. Besides that, it has many great features.
👍7❤4
Handling Errors in Nuxt 3
Throwing and handling errors is important for making any app rock solid in production. This article explores errors you may face in building your Nuxt 3 application, and how you can handle these errors to make your application robust. - https://masteringnuxt.com/blog/handling-errors-in-nuxt3
#vue
Throwing and handling errors is important for making any app rock solid in production. This article explores errors you may face in building your Nuxt 3 application, and how you can handle these errors to make your application robust. - https://masteringnuxt.com/blog/handling-errors-in-nuxt3
#vue
Masteringnuxt
Handling Errors in Nuxt 3
This article explores errors you may face in building your Nuxt 3 application, and how you can handle these errors to make your application rock solid.
👍4
Building a Drawer Component
Ready to move up from simply using other people’s components and start building your own? This case study by an experienced component developer (who created both Vaul and Sonner) could help you get into the right frame of mind. - https://emilkowal.ski/ui/building-a-drawer-component
#react
Ready to move up from simply using other people’s components and start building your own? This case study by an experienced component developer (who created both Vaul and Sonner) could help you get into the right frame of mind. - https://emilkowal.ski/ui/building-a-drawer-component
#react
Emil Kowalski
I wanted to build a drawer component for a while now. In this article, I'll show you how I did that.
👍4