tim arney
4.3K posts

tim arney
@timarney
Senior Lead Software Developer @CDS_GC 🇨🇦 Canadian Digital Service
Canada 가입일 Kasım 2008
1.6K 팔로잉1.1K 팔로워

@timarney Did you see the linked docs and customization of NEXT_SERVER_ACTIONS_ENCRYPTION_KEY?
English
tim arney 리트윗함

CSS Trick 📏
Auto resizing textarea and input with one line 🔥
textarea, input { field-sizing: content; }
Read all about it in Steph's article 👇 It's landing soon!
x.com/jh3yy/status/1…
Stephanie 🔮 Web Witch ( 🦋 @seaotta.dev)@seaotta
📚New on the blog: Better form UX with the CSS property `field-sizing` blog.stephaniestimac.com/posts/2024/01/…
English
tim arney 리트윗함

I started a new series on my stream called Block Developer Cookbook and I have just published first two recipes to my YouTube channel
youtube.com/playlist?list=…
English
tim arney 리트윗함
tim arney 리트윗함

I'm compiling a list of "recipes" for block developers for a new workshop I'm calling The Block Developers Cookbook.
I have a number already but am always looking for more. Please share them as issues on my repo -
kdta.io/ieQF3
English
tim arney 리트윗함

Tip: @ChromeDevTools can now override the content of Fetch/XHR requests! Great for mocking APIs without waiting on backend changes!
This and lots more in Chrome 117: bit.ly/wnd117
English
tim arney 리트윗함

Did you know that React considers APIs like cloneElement, React.Children, and createElement to be legacy? They aren’t recommended for newly written code, and the docs have some alternative suggestions. Be careful using patterns that rely on these.
react.dev/reference/reac…
English

> 'FuzzyHighlighter' cannot be used as a JSX component.
@mattpocockuk curious if you could explain what's going on with this React component type error.
codesandbox.io/p/sandbox/mudd…

English
tim arney 리트윗함

Most sandboxes in CodeSandbox are stored in a Postgres database.
40M+ sandboxes and 400M+ files stored in Postgres, and we still have performant load times.
When going with Postgres, I thought "this is the first thing we'll have to replace". Still didn't happen after 6 years 🤷
Lawrence Jones@lawrjones
In 2020 Figma started hitting growing pains with their single managed Postgres database. That means they managed to grow to a $2B company on a single mged instance. I bet at they hired engineers around this time who grumbled about not picking a more ‘scalable’ tech.
English

@samselikoff Nice
-- would love to see a follow-up example with validating the inputs.
#validation" target="_blank" rel="nofollow noopener">nextjs.org/docs/app/build…
English

Just published a little exploration of Server Actions over on YouTube!
Impressive how closures and callback props "just work" exactly as you'd expect in a client component... but it's full-stack!
youtube.com/watch?v=OAmp3G…

YouTube

English
tim arney 리트윗함

A 🤯 feature of Server Actions is they support progressive enhancement: a server function passed to a <form>'s action prop is interactive before any JS has loaded. No hydration required.
But you did you know you can define actions on the client, too? #server-actions-alpha" target="_blank" rel="nofollow noopener">nextjs.org/blog/next-13-4…
English

@stolinski Not sure who I heard it from but ...
thinking of [ ] as the "make the underline" helps me remember.
English
tim arney 리트윗함









