Anton Ignatov (@ant_Ti) header
Anton Ignatov (@ant_Ti) profile picture

Life begins at the end of your comfort zone.

Amsterdam, The Netherlands
Joined March 2011
Photo by Anton Ignatov (@ant_Ti)Photo by Anton Ignatov (@ant_Ti)
Anton Ignatov retweeted
🚀 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 framer.com/docs/motionvalue/…
2
6
111
19,879
Anton Ignatov retweeted
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.
41
119
11
1,259
200,414
Using `useReducer` to manage one-way boolean state has become one of my favourite tricks lately.
34
267
11
2,605
Anton Ignatov retweeted
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!
This Post is from an account that no longer exists. Learn more
5
31
1
181
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.
18
65
11
798
🧵 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 benmvp.com/blog/typescript-r…
1
2
22
Anton Ignatov retweeted
🆕 #GUIchallenges 🦇 responsive multi-select UX Peep the video youtube.com/watch?v=x0aCdLDZ… Read along web.dev/building-a-multi-sel… Try the demo gui-challenges.web.app/multi… [video alt] UX preview across MacOS Safari, iOS Safari (iPad and iPhone), Android Chrome, Firefox and desktop Chrome
1
47
2
298
Anton Ignatov retweeted
🔥 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!
68
746
95
4,345
Anton Ignatov retweeted
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? 🤓 github.com/lahmatiy/react-re…
4
49
4
210
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
6
59
Anton Ignatov retweeted
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().
4
31
1
152
It's 2021 and web development feels nowhere near this. Is anyone working on tools like this? worrydream.com/#!/LearnableP…
6
2
2
29
And this looks like the best workaround! Use a ref function instead of a ref object teapawt.net/e1g/status/14128023610…
The issue is while *you* are happy to accept any DOM node, React is not happy to have to assign your generic value to a strictly typed $ref arg for each concrete element such as div. One solution is to mimic this with a function ref typescriptlang.org/play?jsx=…
4
1
15
☣️ Jamstack: be careful, there's no standard ☢️ ➡️ Each static host serve HTML files differently ✅ Use github.com/slorber/trailing-… 💡 Useful to debug common issues related to trailing slash, SEO, server redirects...
6
36
3
193
Very cool, Apple’s documentation engine for pages like the SwiftUI tutorials have become available for anyone to re-use via DocC: developer.apple.com/document…
1
4
56
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
1
5
67
Anton Ignatov retweeted
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? 🙌
15
11
47
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:
8
74
7
401