@leeerob Yes and that seems to work locally when I was testing but given a docker build where I don't already have a build cache it didn't seem to work.
Do you know if it needs to be a combination of the 2 env var + build cache or ?
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!
https://t.co/Yww2Wgt6Vs
🔥 JavaScript Sets are about to become a lot more useful with these 7 new methods:
.difference()
.intersection()
.symmetricDifference()
.union()
.isSubsetOf()
.isSupersetOf()
.isDisjointFrom()
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 -
https://t.co/ZkOIu6qah2
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: https://t.co/kP0JrGfHlz
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.
https://t.co/qTyFl8IchS
> 'FuzzyHighlighter' cannot be used as a JSX component.
@mattpocockuk curious if you could explain what's going on with this React component type error.
https://t.co/H5Z6xfuTBw
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 🤷
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? https://t.co/zOwPzztCMG