🚀 Framer Motion 8.1 introduces MotionValue.jump()
jump() sets a motion value while breaking from its history:
- Ending current animations
- Resetting velocity to 0
- Bypassing attached springs
https://t.co/iZUYwvOnrG
My new VSCode extension is nearly ready. The goal is to teach you TypeScript without leaving your IDE. That means:
1⃣ Human-readable error translations (build on top of the TS error translator)
2⃣ Hoverable hints on TS syntax to explain what it means
I'm looking for testers.
A small detail, but one that folks using server-side rendering might appreciate. React 18 adds an onRecoverableError callback to hydrateRoot so you can get notified about hydration mismatches in production. Helps find regressions!
Companies where engineers frequently write & send project updates to internal audiences are places where, as an engineer, you get to learn to write - and communicate - on the job.
Uber was a place like this and it's something I really appreciated.
An example of such an update.
🧵 TypeScript React props: interfaces vs type aliases
@benmvp some nuances to help you make a choice, like describing the different override behavior
TL.DR:
- uses interface by default
- apart edge cases, it doesn't matter much
https://t.co/7926ZJh6le
🆕 #GUIchallenges 🦇
responsive multi-select UX
Peep the video https://t.co/FtWcH0zT29
Read along https://t.co/IGpO8Wx3nh
Try the demo https://t.co/xFjrEWEWDQ
[video alt]
UX preview across MacOS Safari, iOS Safari (iPad and iPhone), Android Chrome, Firefox and desktop Chrome
🔥 JavaScript's new .at() method lets you pick items based on their index.
This is super handy for grabbing the last item of an array or string because, unlike arrays, it supports negative indexes!
Just made public a project I worked on last month – React render tracker. It should help find hidden work that is causing performance issues like unintentional re-renders and unmounts. It's just a MVP/proof of concept, but what do you think of it? 🤓
https://t.co/uuJHfVX1HK
Pro Tip: want IDE auto-completion on JS config files?
Just add some extra JSDoc type annotations
Simpler than compiling the TS config to JS or using ts-node
A six-year-old feature request finally got agreement to land in the HTML spec. Next up, implementing it in all the browsers!
This exposes the browser's built-in deep object cloning abilities, without history.state hacks or an async hop through postMessage().
☣️ Jamstack: be careful, there's no standard ☢️
➡️ Each static host serve HTML files differently
✅ Use https://t.co/VMbN3K5hN8
💡 Useful to debug common issues related to trailing slash, SEO, server redirects...
Very cool, Apple’s documentation engine for pages like the SwiftUI tutorials have become available for anyone to re-use via DocC: https://t.co/snx0MkmSrf
Used my first ES module in a vanilla static HTML file (no build tool).
Find it cool that we can use any npm module easily thanks to @skypackjs
Note: for my use-case, I don't need to support older browsers
GraphQL friends 👋
I'm collecting a list of exciting GraphQL libraries for people at @FormidableLabs. Any I need to know about? Any you're excited about? 🙌
The best Discord groups to prepare for the systems design & big tech interviews, and get more insider information than available on the internet. Based on feedback from people who felt these groups helped them get an offer at Big Tech: