Protecting Routes in Nuxt 3
Michael shows how to use Supabase in a Nuxt 3 middleware to block users who aren’t logged in. - https://masteringnuxt.com/blog/protecting-routes-in-nuxt-3
#vue
Michael shows how to use Supabase in a Nuxt 3 middleware to block users who aren’t logged in. - https://masteringnuxt.com/blog/protecting-routes-in-nuxt-3
#vue
Masteringnuxt
Auth in Nuxt 3
In the third part of this series of auth with Supabase, we’ll be using middleware to block users who aren’t logged in.
👍2
ES2023's New Array Copying Methods
The newest ECMAScript spec introduces some new methods on Array that you’ll eventually find useful in your own programs. Phil gives us the tour. - https://www.sonarsource.com/blog/es2023-new-array-copying-methods-javascript/
#javascript
The newest ECMAScript spec introduces some new methods on Array that you’ll eventually find useful in your own programs. Phil gives us the tour. - https://www.sonarsource.com/blog/es2023-new-array-copying-methods-javascript/
#javascript
Sonarsource
ES2023 introduces new array copying methods to JavaScript
ES2023 is introducing new array methods in JavaScript & they are here to make our programs more predictable and maintainable by copying instead of mutating.
👍5👎1
The gotchas of CSS Nesting
Kilian Valkhof outlines a few gotchas with CSS nesting. - https://kilianvalkhof.com/2023/css-html/the-gotchas-of-css-nesting
#css
Kilian Valkhof outlines a few gotchas with CSS nesting. - https://kilianvalkhof.com/2023/css-html/the-gotchas-of-css-nesting
#css
Kilian Valkhof | Front-end & user experience developer
The gotchas of CSS Nesting | Kilian Valkhof
I've written before about the problems you can run into with CSS nesting (keep in mind that article uses an older syntax but the point still stands) and the question that @ChallengeCSS tweeted out today made me realize there's actually a few more gotcha's.…
👍6
The State of State Management in React Apps
State management remains a subject that attracts a lot of attention. So much, in fact, you may need the help of the handy React Handbook to help sort through all the options. - https://reacthandbook.dev/state-management
#react
State management remains a subject that attracts a lot of attention. So much, in fact, you may need the help of the handy React Handbook to help sort through all the options. - https://reacthandbook.dev/state-management
#react
👍6
Vue 3: watchEffect is Impressive, but watch is still the Best Choice
This article will explore the differences between watch and watchEffect and when to use each. - https://fadamakis.com/vue-3-watcheffect-is-impressive-but-watch-is-still-the-best-choice-8903b62fdc19
#vue
This article will explore the differences between watch and watchEffect and when to use each. - https://fadamakis.com/vue-3-watcheffect-is-impressive-but-watch-is-still-the-best-choice-8903b62fdc19
#vue
Medium
Vue 3: watchEffect is Impressive, but watch is still the Best Choice
One of the most powerful features of Vue is the ability to reactively perform a side-effect based on changes to the underlying data. To…
👍5
How to Generate Presigned URLs with AWS Node.js SDK V3 - https://www.raymondcamden.com/2023/06/09/quick-example-using-aws-nodejs-sdk-v3-for-signed-urls
#nodejs #aws
#nodejs #aws
Raymondcamden
Quick example using AWS Node.js SDK V3 for Signed URLs
How to generate presigned URLs for AWS and V3 of the SDK
👍2
Coding the Sliced Image Hover Effect from Quai Network
Manoela Ilic shows how to code a stunning hover animation. - https://tympanus.net/codrops/2023/06/21/coding-the-sliced-image-hover-effect-from-quai-network
#css
Manoela Ilic shows how to code a stunning hover animation. - https://tympanus.net/codrops/2023/06/21/coding-the-sliced-image-hover-effect-from-quai-network
#css
Codrops
Coding the Sliced Image Hover Effect from Quai Network | Codrops
Learn how to code a similar hover animation to the one seen on the website of Quai Network.
👍4
Dynamic Angular Microfrontends
Learn how to load your microfrontends very dynamically to manage stages, A/B testing, or create a… - https://levelup.gitconnected.com/dynamic-angular-microfrontends-7de8f2634f0a
#angular
Learn how to load your microfrontends very dynamically to manage stages, A/B testing, or create a… - https://levelup.gitconnected.com/dynamic-angular-microfrontends-7de8f2634f0a
#angular
Medium
Dynamic Angular Microfrontends
Learn how to load your microfrontends very dynamically to manage stages, A/B testing, or create a plugin-architecture.
👍6
Are React Server Components Really Slower?
Are RSCs actually slower in Next.js than the getServerSideProps/Pages model? - https://www.youtube.com/watch?v=3Q2q2gs0nAI
#react
Are RSCs actually slower in Next.js than the getServerSideProps/Pages model? - https://www.youtube.com/watch?v=3Q2q2gs0nAI
#react
YouTube
Are React Server Components Really Slower?
Wait, hold up, React Server Components (RSCs) are actually slower in NextJS than the getServerSideProps/Pages model? Are you kidding me? Turns out, I'm not. Check out the results for yourself!
👉 Upcoming NextJS course: https://pronextjs.dev
👉 Code: http…
👉 Upcoming NextJS course: https://pronextjs.dev
👉 Code: http…
👍5❤1
A Guide to Visual Regression Testing with Playwright
The Playwright browser control library can form the basis of an end-to-end testing mechanism all written in JavaScript, and comparing the visual output of tests can help show where things are going wrong. - https://lost-pixel.com/blog/post/playwright-visual-regression-testing
#test #playwright
The Playwright browser control library can form the basis of an end-to-end testing mechanism all written in JavaScript, and comparing the visual output of tests can help show where things are going wrong. - https://lost-pixel.com/blog/post/playwright-visual-regression-testing
#test #playwright
Lost-Pixel
Lost Pixel Blog - Complete guide on Playwright visual regression testing
Playwright is a reliable end-to-end testing tool for modern web apps trusted by thousands of developers. In this guide, we will cover how to use playwright for visual regression testing
👍3❤2
Improving CSS Shapes with Trigonometric Functions
Daniel C. Wilson explores how to apply CSS trigonometric functions to the clip-path property. - https://danielcwilson.com/posts/css-shapes-with-trig-functions
#css
Daniel C. Wilson explores how to apply CSS trigonometric functions to the clip-path property. - https://danielcwilson.com/posts/css-shapes-with-trig-functions
#css
Danielcwilson
Improving CSS Shapes with Trigonometric Functions
CSS Trig Functions enable interesting options for CSS shapes, clip paths, and more.
👍2
How to Use v-model with Form Inputs in Vue
Dmitri explains use v-model to bind form inputs in Vue 3. - https://dmitripavlutin.com/vue-v-model-form-inputs
#vue
Dmitri explains use v-model to bind form inputs in Vue 3. - https://dmitripavlutin.com/vue-v-model-form-inputs
#vue
Dmitri Pavlutin Blog
How to Use v-model to Access Input Values in Vue
How to use v-model to bind form input elements like text input, textarea, select, checkbox, radio in Vue.
👍2
Difference between Middleware, Interceptor, and Filter in the NestJS ecosystem?
If you are new to NestJS and Express, you might be not familiar with the concepts of Middlewares, Inceptors… - https://blog.bitsrc.io/difference-between-middleware-interceptor-and-filter-in-the-nest-js-ecosystem-c71fb3ba32f6
#nodejs
If you are new to NestJS and Express, you might be not familiar with the concepts of Middlewares, Inceptors… - https://blog.bitsrc.io/difference-between-middleware-interceptor-and-filter-in-the-nest-js-ecosystem-c71fb3ba32f6
#nodejs
Medium
Difference between Middleware, Interceptor, and Filter in the NestJS ecosystem? (2023)
If you are new to NestJS and Express, you might be not familiar with the concepts of Middlewares, Inceptors, and Exception Filters. In…
👍4❤2
Scaling Frontend Applications in 2023
10 Essential Areas to Consider When Building a Scalable Frontend Application - https://blog.bitsrc.io/scaling-frontend-applications-in-2023-e455aceff931
#frontend
10 Essential Areas to Consider When Building a Scalable Frontend Application - https://blog.bitsrc.io/scaling-frontend-applications-in-2023-e455aceff931
#frontend
Medium
Scaling Frontend Applications in 2023
10 Essential Areas to Consider When Building a Scalable Frontend Application
👍6
Angular — improved required roles directive
Fine-grained role-based access control (RBAC) through a directive - https://levelup.gitconnected.com/angular-improved-required-roles-directive-e2e90ed32b67
#angular
Fine-grained role-based access control (RBAC) through a directive - https://levelup.gitconnected.com/angular-improved-required-roles-directive-e2e90ed32b67
#angular
Medium
Angular — improved required roles directive
Fine-grained role-based access control (RBAC) through a directive
👍7
Landingpages Created by ChatGPT
I have asked ChatGPT to create landing pages, and here is what it came up with. - https://javascript.plainenglish.io/landingpages-created-by-chatgpt-eea9c7016279
#chatgpt #landing
I have asked ChatGPT to create landing pages, and here is what it came up with. - https://javascript.plainenglish.io/landingpages-created-by-chatgpt-eea9c7016279
#chatgpt #landing
Medium
Landingpages Created by ChatGPT
I have asked ChatGPT to create landing pages, and here is what it came up with.
❤5👍2
6 CSS Snippets Every Front-End Developer Should Know in 2023
Adam Argyle shares a number of handy CSS tips. - https://web.dev/6-css-snippets-every-front-end-developer-should-know-in-2023
#css
Adam Argyle shares a number of handy CSS tips. - https://web.dev/6-css-snippets-every-front-end-developer-should-know-in-2023
#css
web.dev
6 CSS snippets every front-end developer should know in 2023 | Articles | web.dev
Toolbelt worthy, powerful, and stable CSS you can use today.
👍4❤2
Packaging and Selling a Node.js App
The author sells an email automation tool built in Node using numerous libraries under the hood include Hapi, BullMQ and Nodemailer. There’s not a lot of depth here, but it’s interesting to see how someone brings together all the parts needed to sell such an app commercially. - https://docs.emailengine.app/packaging-and-selling-a-node-js-app/
#nodejs
The author sells an email automation tool built in Node using numerous libraries under the hood include Hapi, BullMQ and Nodemailer. There’s not a lot of depth here, but it’s interesting to see how someone brings together all the parts needed to sell such an app commercially. - https://docs.emailengine.app/packaging-and-selling-a-node-js-app/
#nodejs
EmailEngine Blog
Packaging and selling a Node.js app
I sell a downloadable server software called EmailEngine. EmailEngine, when started, runs a simple web server that serves a dashboard and an API. If you'd provide credentials of any email account to EmailEngine, it will open an IMAP session to that account…
👍5
How to Get Full Type Support with Plain JavaScript
It’s possible to reap the benefits of TypeScript, yet still write plain JavaScript, as TypeScript’s analyzer understands types written in the JSDoc format. - https://www.pausly.app/blog/full-type-support-with-plain-javascript
#javascript
It’s possible to reap the benefits of TypeScript, yet still write plain JavaScript, as TypeScript’s analyzer understands types written in the JSDoc format. - https://www.pausly.app/blog/full-type-support-with-plain-javascript
#javascript
Mat Simon
Get Full Type Support With Plain JavaScript — Mat Simon
Learn how you can reap the benefits of TypeScript and still write plain JavaScript.
👍8🥰1