Derek Nguyen (@DerekNguyen10) profile picture

Web dev & design tweets only. I use twitter to document my own learning.

South Korea
Joined April 2013
Photo by Derek Nguyen (@DerekNguyen10)Photo by Derek Nguyen (@DerekNguyen10)Photo by Derek Nguyen (@DerekNguyen10)Photo by Derek Nguyen (@DerekNguyen10)Photo by Derek Nguyen (@DerekNguyen10)Photo by Derek Nguyen (@DerekNguyen10)Photo by Derek Nguyen (@DerekNguyen10)Photo by Derek Nguyen (@DerekNguyen10)Photo by Derek Nguyen (@DerekNguyen10)Photo by Derek Nguyen (@DerekNguyen10)
Replying to @OomoriEs
@OomoriEs my daughter and I are big fan of Shiba Inu Rooms! The book is not only mega cute but also give us an excuse to discuss difficult topics about growing up. Thank you 🙏 My daughter also loves drawing Mayo, her favorite character from the book.
60
Replying to @futurefabric
@futurefabric I've been properly enjoying your newsletter, thank you for making it! Since you mentioned Knot Word in today's edition, I thought I'd share this wordle-like game I've been very addicted to: playhondo.com
For design folks who wants to upgrade their heroicons to v2, I made a v1-compatible Figma file here 🫠 figma.com/community/file/114…
We just launched Heroicons v2.0! 🎉 🤩 All new look! 260 icons redrawn from scratch 🤏 Thinner 1.5px stoke ✨ New 24px solid set Available as first-party React and Vue libraries and official Figma components. Check 'em out 👉🏻 heroicons.com/
1
I renamed all icons to match V1, so you can use Figma's Swap Library to upgrade the icons. I also added Vue / React import path to each. @steveschoger I would be happy to add the export path in the official file if you let me 😜!
1
I hate this, no other services does this
1
This site deserves a gif, it is so. damn. cool. d3gr77h478e1qg.cloudfront.ne…
Y'all wanna hear something ridiculous? The new @Zendesk web widget loads 480kb of JS, but over a year after launch still doesn't let you do basic things like hiding / showing with JS, and setting offset position.
1
It's fine to not have a fancy API for these 'lesser' features, but all I ask for is persistent, unique IDs on the loaded iframes so I can do these myself with a bit of CSS.
1
Completely mind blown by @cavalry__app, intuitive, powerful, no BS. It can even export animation to Lottie! goodbye AE
1
2
12
...and it allows scripting with JS. I'm sold. Sold sold sold
1
3
Props to Dan for turning a fair-but-somewhat-petty comparison to an opportunity to demonstrate React 18 features
This post is from an account that no longer exists. Learn more
4
As a… – web dev I want… – an SSG that replicate my whole wordpress & shopify dataset locally, every build so that… – every update takes 10 minutes
1
1
"Cache is cold, running a clean build" 💀💀💀
Tired: import A from `$components/A.svelte` import B from `$lib/B.svelte` Wired: import A from `~/components/A.svelte` import B from `~/lib/B.svelte`
1
3
Update: ``` const config = { kit: { alias: { '~': 'src' } } }; ```
I made a little page for my little Svelte action 🙈@SvelteSociety 👉 svelte-use-io.byderek.com
3
7
3
81
The most surprising thing I learned from this is that you can load <link> conditionally with CSS media queries
1
5
Nice design, but misleading & low effort. Pop, shift, splice return the removed elements (if any) but looking at this it seems like they return a new copy like slice. Someone new to JS wouldn't know the diff between findIndex and indexOf. No mention of in place modification
💚 JavaScript All array methods Cheatsheet 💚
3
Context switching is costly for any tasks that require any degree of focus. Very unnecessary to make it a 'programmer' vs 'non-programmer' thing
This quoted post is unavailable.
1
3
Learn about iterators & generators in JS today, any object can become iterable by adding a generator function as [Symbol.iterator]
3
It's super easy to write responsive images with @sanity_io. Add `auto('format')` & all your images are now webp
1
3
37
:s/easy/convenient 😅 figuring out srcset and sizes was hard
1
TIL about CSS property `all: initial;` which reset all of an element's CSS properties, gonna need this to prevent users' global styles from affecting talenote's UI 😅 developer.mozilla.org/en-US/…
1
Learned how to create types from value of an array in #TypeScript today, useful github.com/microsoft/TypeScr…
1
This is genius
Slack tip: Changing to a theme where notification dots aren't red can significantly reduce Slack stress.
2
When I researched for talenote, this Sveltekit feature was literally merged the day I looked it up (not yet in kit's docs, perhaps someone should send a PR.) That was the sign I was looking for!
Replying to @DerekNguyen10
Talenote routes can be filtered out in production by setting `kit.routes` in `svelte.config.js`, available in SvelteKit ^1.0.0next-249. github.com/d4rekanguok/talen…
1
Got curious with Mike's tweet & gave @gitpod a try, Talenote worked perfectly there 🤯 3444-d4rekanguok-talenote-3k…
This post is from an account that no longer exists. Learn more