@davejs4 Profile picture

dave

@davejs4

JavaScript developer - author of https://t.co/oLvXxm7bnK - open source 💚

Joined January 2020
dave Reposted

Tanstack Query pattern: 1. Colocate related queries and mutations 2. Centralize queryKeys If a query sets a key, and a mutation invalidates the same key, they probably belong in the same file. Example: This contains related queries and mutations and centralizes queryKeys.

Tweet Image 1

dave Reposted

SQL JOINs are like Set Theory:

Tweet Image 1

dave Reposted

HTML Hidden Powers Lesser-known but powerful HTML features

Tweet Image 1

dave Reposted

"Comfortably monitor your Internet traffic"

Tweet Image 1

dave Reposted

⚡️ Tip: Observe SQLite DB changes! Did you know there is a useLiveQuery hook? If you use @expo with @DrizzleORM, you can now listen to your database changes with one line of code 😱 This works great with SQLite, so no more reloading logic 💪

Tweet Image 1

dave Reposted

18 Pure CSS Front-End Magic Tricks 🔥 No JavaScript, No Third-Party Libraries.

Tweet Image 1

dave Reposted

Este recurso está interesante, les puede ayudar a practicar su inglés, mecanografiar más rápido y leer libros al mismo tiempo. entertrained.app


dave Reposted

You don't need a separate VPS for each domain 🙅‍♂️ All you need is a reverse proxy on one host Nginx makes doing this super easy Few lines of config per service Self-host like a pro ✨

Tweet Image 1

dave Reposted

why is no one talking about this resource for learning Zig, I just found it while searching for some Zig study material this is written by @PedroPark9 ngl I've read very few chapters but this looks promising af man from a beginner's POV like after "Learning Zig" posts by…

Tweet Image 1

dave Reposted

progressive scroll blurring with CSS ✨ – translate progressive blurred layers on scroll – tighten blur with contrast and brightness 👇 .blur-stack { animation: drop; animation-timeline: --scroller; animation-range: 0 var(--size); height: var(--size); }

progressive blur in a scroll container detail is to make sure the scrollbar doesn't get affected by the blur



dave Reposted

¿No entiendes los JOIN en SQL? ¡Eso se acabó! Esta guía visual te los explica con ejemplos de código ↓

Tweet Image 1

dave Reposted

Defensive Linux Security

Tweet Image 1

dave Reposted

Patrones de Arquitectura que debes conocer ↓ 1. Arquitectura Orientada a Eventos Los componentes del sistema se comunican entre sí mediante eventos. Los productores de eventos generan datos y los envían a un intermediario, quien luego los distribuye a los consumidores de…


dave Reposted

Aprende Inglés GRATIS este 2024 Speaking → tandem.net Vocabulario → engvid.com Desde 0 → curso-ingles.com Con películas → playphrase.me Listening → bbc.co.uk/learningenglish Universidad de Cambridge → cambridgeenglish.org


dave Reposted

⚡️Keep your API calls clean with full TypeScript support using @tan_stack query, @honojs, and @DrizzleORM Code explained in 🧵 ⬇️

Tweet Image 1

dave Reposted

OSI Model vs TCP/IP Model

Tweet Image 1

dave Reposted

Goodbye, Vercel. Goodbye, Datadog. 🙋‍♂️Hello, 20 lines of bash. 🚨 Instant alerts on your phone when your service logs an error. Free, simple, and effective.

Tweet Image 1

dave Reposted

¡Aprende ALGORITMOS en Programación con esta web! En Español, con código real, ejercicios y sin coste. JavaScript, Python, Rust, C, C++, Java y muchos más: → the-algorithms․com


dave Reposted

Linux cron job essentials

Tweet Image 1

dave Reposted

💡 2 CSS tips for textareas: 1️⃣ Use `field-sizing: content` to make the textarea auto-resize to its content 2️⃣ Use `lh` units to set the height in the font's computed line-height units


United States Trends
Loading...

Something went wrong.


Something went wrong.