Front-end Testing Strategy
Defines the common layers of testing and their trade-offs in order to propose an effective strategy. - https://itnext.io/front-end-testing-strategy-5fddfd463feb
#frontend #testing
Defines the common layers of testing and their trade-offs in order to propose an effective strategy. - https://itnext.io/front-end-testing-strategy-5fddfd463feb
#frontend #testing
Medium
Front-end Testing Strategy
Defines the different layers of testing and gives an overview of the current situation to propose an effective strategy.
👍6
Why React Contexts Are Great
Something can be good, but also not a great fit for every project. Allen explains where his team ran into problems with useContext. - https://spin.atomicobject.com/2022/08/24/react-contexts/
#react
Something can be good, but also not a great fit for every project. Allen explains where his team ran into problems with useContext. - https://spin.atomicobject.com/2022/08/24/react-contexts/
#react
Atomic Spin
Why React Contexts Are Great and Why We Didn't Use Them
React contexts enable information sharing between components. However, they aren't always the best fit for a project. See why and how to properly use them.
👍6😐3
How to Handle Required Inputs in Angular
Handling Required Inputs in Angular Directive and Component. - https://medium.com/@redin.gaetan/angular-for-everyone-required-inputs-ee916b2feaae
#angular
Handling Required Inputs in Angular Directive and Component. - https://medium.com/@redin.gaetan/angular-for-everyone-required-inputs-ee916b2feaae
#angular
Medium
How to Handle Required Inputs in Angular
Handling Required Inputs in Angular Directive and Component.
👍3
How To Use Multithreading in Node.js
A practical walkthrough to how Node uses threads and how and why you might use worker threads yourself in a web app. - https://www.digitalocean.com/community/tutorials/how-to-use-multithreading-in-node-js
#nodejs
A practical walkthrough to how Node uses threads and how and why you might use worker threads yourself in a web app. - https://www.digitalocean.com/community/tutorials/how-to-use-multithreading-in-node-js
#nodejs
Digitalocean
How To Use Multithreading in Node.js | DigitalOcean
Node.js runs JavaScript code in a single thread, which means your code can do one task at a time and can’t use multiple cores. To remedy this, Node.js introd…
👍7👏1
The Advanced Guide to the CSS :has() Selector
Rahul Chhodde explains the need for the :has() selector, its general usage, various applications and use cases from simple to advanced, browser compatibility, and the fallbacks. - https://blog.logrocket.com/advanced-guide-css-has-selector
#css
Rahul Chhodde explains the need for the :has() selector, its general usage, various applications and use cases from simple to advanced, browser compatibility, and the fallbacks. - https://blog.logrocket.com/advanced-guide-css-has-selector
#css
LogRocket Blog
The advanced guide to the CSS :has() selector - LogRocket Blog
The :has() pseudo-class has been a much-awaited addition to CSS - discover advanced implementations in this complete guide.
👍6
Domain modeling for frontend applications using TypeScript
Thanks to Rafael Poveda and Abel Fernández for proof reading this article - https://tech.cornershop.io/domain-modeling-for-frontend-applications-using-typescript-2bc162fd94a0
#typescript
Thanks to Rafael Poveda and Abel Fernández for proof reading this article - https://tech.cornershop.io/domain-modeling-for-frontend-applications-using-typescript-2bc162fd94a0
#typescript
Medium
Domain modeling for frontend applications using TypeScript
Thanks to Rafael Poveda and Abel Fernández for proof reading this article ❤️
❤4👍2
Server side rendering (SSR) with Angular for Nx workspaces
In this article, we will manually add the SSR feature to our Angular application in an Nx workspace. - https://blog.nrwl.io/server-side-rendering-ssr-with-angular-for-nx-workspaces-14e2414ca532
#angular
In this article, we will manually add the SSR feature to our Angular application in an Nx workspace. - https://blog.nrwl.io/server-side-rendering-ssr-with-angular-for-nx-workspaces-14e2414ca532
#angular
Medium
Server side rendering (SSR) with Angular for Nx workspaces
In this article, we will manually add the SSR feature to our Angular application in an Nx workspace.
👍7
Vue Composition API Inspector
A peek under the hood of Vue compilation. See how Vue interprets TypeScript. - https://unicorn-utterances.com/posts/vue-composition-inspector
#vue
A peek under the hood of Vue compilation. See how Vue interprets TypeScript. - https://unicorn-utterances.com/posts/vue-composition-inspector
#vue
Unicorn Utterances
Vue Composition API Inspector
A peek under the hood of Vue compilation. See how Vue interpretes TypeScript
👍3
React Error Boundaries: A Guide
Not properly catching errors thrown by third-party libraries or React hooks can have them end up reaching the top-level of the main execution thread, resulting in the dreaded “white screen” scenario. The official docs on error boundaries also remain useful. - https://meticulous.ai/blog/react-error-boundaries-complete-guide/
#react
Not properly catching errors thrown by third-party libraries or React hooks can have them end up reaching the top-level of the main execution thread, resulting in the dreaded “white screen” scenario. The official docs on error boundaries also remain useful. - https://meticulous.ai/blog/react-error-boundaries-complete-guide/
#react
www.meticulous.ai
React Error Boundaries | Complete Guide
A complete guide to implementing React Error Boundaries, and how to use a third-party tool for handling more sophisticated scenarios.
👍9👏1
TypeScript 4.8 Released
The typed superset of JavaScript continues to remain popular. 4.8 is more a minor evolution than a revolution, but makes improvements to inference, correctness and consistency, file watching, and serious speedups on rebuilds. - https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/
#typescript
The typed superset of JavaScript continues to remain popular. 4.8 is more a minor evolution than a revolution, but makes improvements to inference, correctness and consistency, file watching, and serious speedups on rebuilds. - https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/
#typescript
Microsoft News
Announcing TypeScript 4.8
Today we’re excited to announce the release of TypeScript 4.8! If you’re not yet familiar with TypeScript, it’s a language that builds on JavaScript and adds syntax for types. These types let you put your expectations and assumptions into your code,
👍6
Popular Nodejs Patterns and Tools to Reconsider?
Yoni is well known for his work in cataloging Node best practices (certainly worth looking at!) but he thinks we should reflect upon entrenched approaches over time. Here he presents 9 common approaches to reconsider. - https://practica.dev/blog/popular-nodejs-pattern-and-tools-to-reconsider/
#nodejs
Yoni is well known for his work in cataloging Node best practices (certainly worth looking at!) but he thinks we should reflect upon entrenched approaches over time. Here he presents 9 common approaches to reconsider. - https://practica.dev/blog/popular-nodejs-pattern-and-tools-to-reconsider/
#nodejs
practica.dev
Popular Node.js patterns and tools to re-consider | Practica.js
Node.js is maturing. Many patterns and frameworks were embraced - it's my belief that developers' productivity dramatically increased in the past years. One downside of maturity is habits - we now reuse existing techniques more often. How is this a problem?
👍5
Maintenance Matters
Annie Kiley shares a list of ten simple things you can do to make your projects as maintainable as possible, regardless of the stack. - https://www.viget.com/articles/maintenance-matters
#css
Annie Kiley shares a list of ten simple things you can do to make your projects as maintainable as possible, regardless of the stack. - https://www.viget.com/articles/maintenance-matters
#css
https://www.viget.com
Maintenance Matters | Viget
A list of ten simple things we do to make our projects as maintainable as possible, regardless of the stack.
👍6
Tabs with scroll restoration in Angular applications
In this blog post, I will show you how to implement scroll restoration for tabs component. The logic will be… - https://medium.com/javascript-everyday/tabs-with-scroll-restoration-in-angular-applications-2b6b3f8883d4
#angular
In this blog post, I will show you how to implement scroll restoration for tabs component. The logic will be… - https://medium.com/javascript-everyday/tabs-with-scroll-restoration-in-angular-applications-2b6b3f8883d4
#angular
Medium
Tabs with scroll restoration in Angular applications
In this blog post, I will show you how to implement scroll restoration for tabs component. The logic will be encapsulated into a set of…
👍8
When to Use useLayoutEffect Instead of useEffect
Do you have an annoying flicker in your UI? It may be you’re using the wrong one of these two hooks: it’s all about whether the hook fires before or after the browser paints. - https://javascript.plainenglish.io/react-hooks-when-to-use-uselayouteffect-instead-of-useeffect-3271a96d881a
#react
Do you have an annoying flicker in your UI? It may be you’re using the wrong one of these two hooks: it’s all about whether the hook fires before or after the browser paints. - https://javascript.plainenglish.io/react-hooks-when-to-use-uselayouteffect-instead-of-useeffect-3271a96d881a
#react
Medium
React Hooks — When to Use useLayoutEffect Instead of useEffect
The difference between useEffect and useLayoutEffect — explained with a real-life example.
👍9
Custom Vue 3 Boilerplate — Vite, Pinia, Vue Router & Tailwind CSS
Learn how to set up this useful Vue 3 boilerplate stack. - https://medium.com/js-dojo/custom-vue3-boilerplate-9635806acde3
#vue
Learn how to set up this useful Vue 3 boilerplate stack. - https://medium.com/js-dojo/custom-vue3-boilerplate-9635806acde3
#vue
Medium
Custom Vue 3 boilerplate — Vite, Pinia, Vue Router & Tailwind CSS
Quick boilerplate tutorial for your next Vue project
👍5❤2
The ultimate guide to Observables and/vs Promises
During this article, you’ll get a full insight into how promises differ with regard to observables. We’ll try… - https://obaranovskyi.medium.com/the-ultimate-guide-to-observables-and-vs-promises-rxjs7-296877376668
#rxjs
During this article, you’ll get a full insight into how promises differ with regard to observables. We’ll try… - https://obaranovskyi.medium.com/the-ultimate-guide-to-observables-and-vs-promises-rxjs7-296877376668
#rxjs
Medium
The ultimate guide to Observables and/vs Promises (+RxJS7).
During this article, you’ll get a full insight into how promises differ with regard to observables. We’ll try to cover all you need to know…
👍10
container and :has(): two powerful new responsive APIs landing in Chromium 105
container and :has(): two powerful new responsive APIs landing in Chromium 105
Una Kravets explains how container queries and :has() selector can help you create responsive interfaces. - https://developer.chrome.com/blog/has-with-cq-m105
#css
container and :has(): two powerful new responsive APIs landing in Chromium 105
Una Kravets explains how container queries and :has() selector can help you create responsive interfaces. - https://developer.chrome.com/blog/has-with-cq-m105
#css
Chrome for Developers
@container and :has(): two powerful new responsive APIs landing in Chromium 105 | Blog | Chrome for Developers
"Container queries and :has() are a match made in responsive heaven. Luckily, both of these features are landing together in Chromium 105. This is a huge release with two highly-requested features for responsive interfaces!"
❤5👍2
An Overview of Node's Architecture, Event Loop, and More
We’re were starting to suspect that the good doctor (also the author of books like Deep JavaScript) was working on a Node book and.. he is: “Writing cross-platform shell scripts with Node.js.” Happily, we get to enjoy the byproducts of his work like this succinct, yet technical, overview of Node’s key elements. - https://2ality.com/2022/09/nodejs-overview.html
#nodejs
We’re were starting to suspect that the good doctor (also the author of books like Deep JavaScript) was working on a Node book and.. he is: “Writing cross-platform shell scripts with Node.js.” Happily, we get to enjoy the byproducts of his work like this succinct, yet technical, overview of Node’s key elements. - https://2ality.com/2022/09/nodejs-overview.html
#nodejs
2Ality
An overview of Node.js: architecture, APIs, event loop, concurrency
This blog post gives an overview of how Node.js works: What its architecture looks like. How its APIs are structured. A few highlights of its global variables and built-in modules. How it runs JavaScript in a single thread via an event loop. Options for concurrent…
👍7
Use Angular directives to extend components that you don't own - https://timdeschryver.dev/blog/use-angular-directives-to-extend-components-that-you-dont-own
#angular
#angular
timdeschryver.dev
Use Angular directives to extend components that you don't own
Angular directives allow us to extend components without changing their internal code. This is useful to bring a consistent UX to 3rd party components. The directive can be configured to always be applicable, or can be used in an opt-in or opt-out basis.
👍4
Error Handling in Vue3
This article will briefly implement an error handling method and then introduce the implementation process of the Vue 3 source code. - https://dev.to/chris1993/error-handling-in-vue3-1g89
#vue
This article will briefly implement an error handling method and then introduce the implementation process of the Vue 3 source code. - https://dev.to/chris1993/error-handling-in-vue3-1g89
#vue
DEV Community
Error Handling in Vue3
Hi, I'm Chris and I'm a front-end development engineer. This is the first article I wrote and I hope...
👍2👏1