How 1Password Used esbuild to Cut Browser Extension Build Times
1Password is a popular password management tool that relies upon a browser extension to fill out passwords on the Web. At over a minute for a single build, things were starting to drag for the devs. Could esbuild help? A fun story with plenty of technical details. - https://blog.1password.com/new-extension-build-system/
#esbuild
1Password is a popular password management tool that relies upon a browser extension to fill out passwords on the Web. At over a minute for a single build, things were starting to drag for the devs. Could esbuild help? A fun story with plenty of technical details. - https://blog.1password.com/new-extension-build-system/
#esbuild
1Password Blog
How we used esbuild to reduce our browser extension build times by 90% | 1Password Blog
Learn how the team at 1Password created a new build system for its browser extension, speeding up development.
👍2
Mastering Node.js Performance Hooks
Node’s performance measurement APIs provide a lot of power, but it can be tricky to get your head around the mental model of what they measure and where they make sense. Pavel tries to clear it all up for us. - https://pavel-romanov.com/nodejs-performance-hooks-mastering-the-mental-model
#nodejs
Node’s performance measurement APIs provide a lot of power, but it can be tricky to get your head around the mental model of what they measure and where they make sense. Pavel tries to clear it all up for us. - https://pavel-romanov.com/nodejs-performance-hooks-mastering-the-mental-model
#nodejs
Pavel Romanov
Mastering Node.js Performance Hooks
Master Node.js performance hooks: clocks, performance timeline, performance entries, performance observer, and buffers for precise measurement
👍3🔥1
CSS Grid Gap Behavior with Hidden Elements
Ryan Mulligan shares some discoveries on how the CSS gap property operates when hiding items in grid-template & grid-auto layouts. - https://ryanmulligan.dev/blog/grid-gap
#css
Ryan Mulligan shares some discoveries on how the CSS gap property operates when hiding items in grid-template & grid-auto layouts. - https://ryanmulligan.dev/blog/grid-gap
#css
ryanmulligan.dev
CSS Grid Gap Behavior with Hidden Elements
Some discoveries on how the CSS Grid gap property operates when hiding items in grid-template and grid-auto layouts.
👍4❤1
Handling Environment Variables in Vue
This blogpost provides a guide to working with your env file in a Vue.js project. - https://fadamakis.com/handling-environment-variables-in-vue-da4d223aea71
#vue
This blogpost provides a guide to working with your env file in a Vue.js project. - https://fadamakis.com/handling-environment-variables-in-vue-da4d223aea71
#vue
Medium
Handling Environment Variables in Vue
Vue uses the widely adopted dotenv module to load build configuration from the following files in your environment directory:
👍3
ECMAScript 2023 Feature: Symbols as WeakMap keys
Dr. Axel continues his look at language features by explaining what WeakMaps are for and why using symbols for keys has added benefits. - https://2ality.com/2024/05/proposal-symbols-as-weakmap-keys.html
#javascript
Dr. Axel continues his look at language features by explaining what WeakMaps are for and why using symbols for keys has added benefits. - https://2ality.com/2024/05/proposal-symbols-as-weakmap-keys.html
#javascript
2Ality
ECMAScript 2023 feature: symbols as WeakMap keys
In this blog post, we take a look at the ECMAScript 2023 feature “Symbols as WeakMap keys” – which was proposed by Robin Ricard, Rick Button, Daniel Ehrenberg, Leo Balter, Caridy Patiño, Rick Waldron, and Ashley Claymore.
👍3🔥1
Advanced Components in Angular
In this blog, I am going to explain several advanced components and mechanisms in Angular that enhance… - https://medium.com/startit-up/advanced-components-in-angular-41b43556178d
#angular
In this blog, I am going to explain several advanced components and mechanisms in Angular that enhance… - https://medium.com/startit-up/advanced-components-in-angular-41b43556178d
#angular
Medium
Advanced Components in Angular
In this blog, I am going to explain several advanced components and mechanisms in Angular that enhance flexibility, reusability, and…
👍5
How To Share States Between React Micro-Frontends using Module-Federation?
Share states between React Micro-Frontends using Module-Federation and Bit! - https://blog.bitsrc.io/how-to-share-state-between-react-micro-frontends-using-module-federation-f3762996c208
#react
Share states between React Micro-Frontends using Module-Federation and Bit! - https://blog.bitsrc.io/how-to-share-state-between-react-micro-frontends-using-module-federation-f3762996c208
#react
Medium
How To Share States Between React Micro-Frontends using Module-Federation?
Share states between React Micro-Frontends using Module-Federation and Bit!
👍4
Scoped CSS is Back
Keith J. Grant gives a nice look at the current state of Scoped CSS, explaining that a working prototype is already in Chrome. - https://keithjgrant.com/posts/2023/04/scoped-css-is-back
#css
Keith J. Grant gives a nice look at the current state of Scoped CSS, explaining that a working prototype is already in Chrome. - https://keithjgrant.com/posts/2023/04/scoped-css-is-back
#css
Keithjgrant
Scoped CSS is Back
Several years ago, I made a plea to save scoped CSS. One of the top features on my CSS wishlist was on the chopping block, and despite a pretty big push from th
👍3
3 Kinds of Props in Vue
Vue's props streamline data flow between parent and child components. There are three main types: Template, Configuration, and State (Data) Props. This article explores each type, their differences, and best use cases. - https://michaelnthiessen.com/3-kinds-of-props
#vue
Vue's props streamline data flow between parent and child components. There are three main types: Template, Configuration, and State (Data) Props. This article explores each type, their differences, and best use cases. - https://michaelnthiessen.com/3-kinds-of-props
#vue
Michaelnthiessen
3 Kinds of Props in Vue
One of Vue's core features is the use of props. Props are how we pass data around in Vue, from parent to child components. But not all props are created equal.
👍3❤1
Node.js Test Runner: A Beginner's Guide
Modern versions of Node have their own test runner built in. - https://betterstack.com/community/guides/testing/nodejs-test-runner/
#nodejs
Modern versions of Node have their own test runner built in. - https://betterstack.com/community/guides/testing/nodejs-test-runner/
#nodejs
Betterstack
Node.js Test Runner: A Beginner's Guide | Better Stack Community
Master Node.js testing with this comprehensive guide to its built-in test runner. Learn to write effective tests and manage your application's test suite
👍5
Technical Debts in Component Design using Angular
In one of my previous posts I have talked about code smells in Angular [1]. This time I would like to address… - https://blog.stackademic.com/technical-debts-in-component-design-using-angular-87af0bd4ede3
#angular
In one of my previous posts I have talked about code smells in Angular [1]. This time I would like to address… - https://blog.stackademic.com/technical-debts-in-component-design-using-angular-87af0bd4ede3
#angular
Medium
Technical Debts in Component Design using Angular
In one of my previous posts I have talked about code smells in Angular [1]. This time I would like to address technical debts regarding…
👍5
Data Fetching Patterns in Single-Page Applications
With a level of depth you’d expect on Martin Fowler’s blog, Atlassian’s Juntao Qiu walks through five different patterns to consider when fetching remote data, using a realistic React-based scenario to show them off. - https://martinfowler.com/articles/data-fetch-spa.html
#react
With a level of depth you’d expect on Martin Fowler’s blog, Atlassian’s Juntao Qiu walks through five different patterns to consider when fetching remote data, using a realistic React-based scenario to show them off. - https://martinfowler.com/articles/data-fetch-spa.html
#react
martinfowler.com
Data Fetching Patterns in Single-Page Applications
Five patterns to help Single Page Applications fetch data from remote sources
👍5
Stop using {} in Typescript
In the world of TypeScript, it’s pretty common to use ‘Object’ or ‘{}’ as a type when we’re expecting an… - https://medium.com/@sukheja.varun/stop-using-in-typescript-ed24d3532d9e
#typescript
In the world of TypeScript, it’s pretty common to use ‘Object’ or ‘{}’ as a type when we’re expecting an… - https://medium.com/@sukheja.varun/stop-using-in-typescript-ed24d3532d9e
#typescript
Medium
Stop using {} in Typescript
In the world of TypeScript, it’s pretty common to use ‘Object’ or ‘{}’ as a type when we’re expecting an object but aren’t quite sure about…
👍5
A Conceptual Model of State in Vue 3.4
As web applications become more complex, managing state and componentization in the frontend is challenging. Vue 3.4's defineModel macro offers an efficient way to handle complex inter-component state management while maintaining strong data locality and compartmentalization. This blogpost provides all you need to know about this macro. - https://chrlschn.dev/blog/2024/01/a-conceptual-model-of-state-in-vue-34-using-definemodel/
#vue
As web applications become more complex, managing state and componentization in the frontend is challenging. Vue 3.4's defineModel macro offers an efficient way to handle complex inter-component state management while maintaining strong data locality and compartmentalization. This blogpost provides all you need to know about this macro. - https://chrlschn.dev/blog/2024/01/a-conceptual-model-of-state-in-vue-34-using-definemodel/
#vue
chrlschn.dev
A Conceptual Model of State in Vue 3.4
A guide to understanding how to think about state and components in Vue with the game changing defineModel
👍4❤1
Detect JavaScript Support in CSS
The webpage contains a technical blog post that discusses a method for detecting JavaScript support in CSS using the "@supports" rule. The author provides code examples and explains the benefits of this approach for creating more flexible and dynamic stylesheets. - https://ryanmulligan.dev/blog/detect-js-support-in-css/
#css
The webpage contains a technical blog post that discusses a method for detecting JavaScript support in CSS using the "@supports" rule. The author provides code examples and explains the benefits of this approach for creating more flexible and dynamic stylesheets. - https://ryanmulligan.dev/blog/detect-js-support-in-css/
#css
ryanmulligan.dev
Detect JavaScript Support in CSS
Description
👍5🔥1
Node is Leaking Memory? setTimeout Could Be The Reason
The folks at Sentry were running into problems with how Node handles timeouts created with setTimeout or, more specifically, problems caused by hanging on to the Timeout objects setTimeout returns.. - https://lucumr.pocoo.org/2024/6/5/node-timeout/
#nodejs
The folks at Sentry were running into problems with how Node handles timeouts created with setTimeout or, more specifically, problems caused by hanging on to the Timeout objects setTimeout returns.. - https://lucumr.pocoo.org/2024/6/5/node-timeout/
#nodejs
Armin Ronacher's Thoughts and Writings
Your Node is Leaking Memory? setTimeout Could be the Reason
How node’s timeout objects are potential sources of memory leaks.
👍4
Translating React Apps with i18next and Testing Them with Playwright
A twofer: a step-by-step tutorial on how to use i18next to create a multi-lingual version of your app and the mechanics of testing it with Playwright. - https://wanago.io/2024/05/13/react-internationalization-end-to-end-tests-playwright/
#react
A twofer: a step-by-step tutorial on how to use i18next to create a multi-lingual version of your app and the mechanics of testing it with Playwright. - https://wanago.io/2024/05/13/react-internationalization-end-to-end-tests-playwright/
#react
Marcin Wanago Blog - JavaScript, both frontend and backend
Translating React apps with i18next and testing them End-to-End with Playwright
We support multiple languages in React with internationalization and write End-to-End tests using Playwright
👍6
Getting Started with Generative AI in Angular
Vertex AI is Google Cloud platform for state-of-the-art Generative AI including PaLM 2 - https://medium.com/google-cloud/getting-started-with-generative-ai-in-angular-b72737a59982
#angular
Vertex AI is Google Cloud platform for state-of-the-art Generative AI including PaLM 2 - https://medium.com/google-cloud/getting-started-with-generative-ai-in-angular-b72737a59982
#angular
Medium
Getting Started with Generative AI in Angular
Vertex AI is Google Cloud platform for state-of-the-art Generative AI including PaLM 2
👍2🤮2
Don’t Just LeetCode; Follow the Coding Patterns Instead
What if you don’t like to practice 100s of coding questions before the interview? - https://levelup.gitconnected.com/dont-just-leetcode-follow-the-coding-patterns-instead-4beb6a197fdb
#leetcode
What if you don’t like to practice 100s of coding questions before the interview? - https://levelup.gitconnected.com/dont-just-leetcode-follow-the-coding-patterns-instead-4beb6a197fdb
#leetcode
Medium
Don’t Just LeetCode; Follow the Coding Patterns Instead
What if you don’t like to practice 100s of coding questions before the interview?
👍4🔥1
Using Node.js's Test Runner: The Official Guide
A useful new guide on the official Node site to the fundamentals of setting up and using Node’s new test runner functionality, along with snapshot tests - https://nodejs.org/en/learn/test-runner/using-test-runner
#nodejs
A useful new guide on the official Node site to the fundamentals of setting up and using Node’s new test runner functionality, along with snapshot tests - https://nodejs.org/en/learn/test-runner/using-test-runner
#nodejs
nodejs.org
Node.js — Using Node.js's test runner
Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.
👍2
Vue.js tips - How to re-expose slots in wrapping component
In this blogpost the author provides a practical and personal solution to leveraging slots to build reusable Ui components - https://dev.to/aloisseckar/vuejs-tips-how-to-re-expose-slots-in-wrapping-component-1n1
#vue
In this blogpost the author provides a practical and personal solution to leveraging slots to build reusable Ui components - https://dev.to/aloisseckar/vuejs-tips-how-to-re-expose-slots-in-wrapping-component-1n1
#vue
DEV Community
Vue.js tips - How to re-expose slots in wrapping component
In my job I am recently building a Vue (Nuxt) component library for future UI modules of our...
👍3