diecodev's profile picture. 💻 Sofrware Developer

Diego Díaz

@diecodev

💻 Sofrware Developer

Diego Díaz reposted

extra tip when dealing with animation 🎞️ set `subtree: true` to wait for all child animations/transitions to finish 🤙 await Promise.allSettled( element.getAnimations({ subtree: true }).map( a => a finished ) ) please don't use setTimeout 🙏

JavaScript Tip ⭐️ Avoid setTimeout when dealing with element animations ⚠️ Use Element.getAnimations() and tap into the animation lifecycle instead of guessing 🙏 Great for unmount animations in React, etc. Let your CSS be the source of truth 🥇

jh3yy's tweet image. JavaScript Tip ⭐️

Avoid setTimeout when dealing with element animations ⚠️

Use Element.getAnimations() and tap into the animation lifecycle instead of guessing 🙏 Great for unmount animations in React, etc.

Let your CSS be the source of truth 🥇


Diego Díaz reposted

Tooltips tip: Tooltips should have a delay before appearing to prevent accidental activation. Once a tooltip is open, hovering over other tooltips should open them with no delay and no animation. This feels faster without defeating the purpose of the initial delay.


Diego Díaz reposted

Tip for @polar_sh : Pass user IP as a search param to auto-set checkout country. Checked projects using Polar, most don’t do this and I actually thought the feature didn’t exist😅

bytaesu's tweet image. Tip for @polar_sh : Pass user IP as a search param to auto-set checkout country.

Checked projects using Polar, most don’t do this and I actually thought the feature didn’t exist😅

Diego Díaz reposted

Diego Díaz reposted

React Router now has support for React Server Components We're introducing a more powerful RSC-powered Data Mode that brings most of Framework Mode's features to our lower level library APIs

ReactRouter's tweet image. React Router now has support for React Server Components

We're introducing a more powerful RSC-powered Data Mode that brings most of Framework Mode's features to our lower level library APIs

Diego Díaz reposted

Multi-threading in React Native is no longer limited to animations and gestures 🚀

We did it! You can finally use third-party libraries in worklets - with `react-native-worklets`. Jump in the thread to learn more 👇



Diego Díaz reposted

now the migration guide exists officially at @tan_stack 😌 tanstack.com/start/latest/d… 🧐 migrate migrate migrate 🔥 thanks for such wonderful framework and amazing contributors/maintainers 👀 @seancassiere @tannerlinsley @schanuelmiller 😎


Diego Díaz reposted

We are excited to announce Rspack support in Next.js and look forward to partnering with the Next.js team and Vercel teams on the shared needs of the Rust foundations. rspack.dev/blog/rspack-ne…


Diego Díaz reposted

We have released an official cli

Run `npm create module-federation@latest` to start mf now !!



Diego Díaz reposted

After 5.5 years of attempts, I've finally gained control over the "deno" package on npm. Naturally we will make `npm install -g deno` work now npmjs.com/package/deno


Diego Díaz reposted

this wren wants to remind you that Deno permission flags have shorthands deno.com/blog/v1.46#sho…

deno_land's tweet image. this wren wants to remind you that Deno permission flags have shorthands

deno.com/blog/v1.46#sho…

Diego Díaz reposted

As we prepare to stabilize React Router v7, we decided now is a good time to take a look at the brand identity to see if we could freshen it up a bit remix.run/blog/react-rou…


Diego Díaz reposted

The new site is now live! Lucia v3 will be deprecated by March 2025. Big thanks to everyone who contributed to the library github.com/lucia-auth/luc…


Diego Díaz reposted

Introducing... A lightweight and dependency-free @bunjavascript Spreadsheets 🎉

stacksjs's tweet image. Introducing... 

A lightweight and dependency-free @bunjavascript Spreadsheets 🎉

Diego Díaz reposted

Tired: dangerouslySetInnerHtml={{__html}} Wired: Literally fetch a website inline 😏


Diego Díaz reposted

👀 CSS content-visibility is now in all browsers It can help you improve rendering performance, and be an alternative to virtualization See how Nolan Lawson optimized an Emoji Picker by 45% here: x.com/frontenddogma/…

sebastienlorber's tweet image. 👀 CSS content-visibility is now in all browsers 

It can help you improve rendering performance, and be an alternative to virtualization

See how Nolan Lawson optimized an Emoji Picker by 45% here:
x.com/frontenddogma/…

Diego Díaz reposted

Okay, your Image component is fine... but is it Picture perfect? 📸


United States Trends

Loading...

Something went wrong.


Something went wrong.