Twitter | Search | |
Sagiv Ben Giat
Human | Writing my thoughts in
981
Tweets
110
Following
86
Followers
Tweets
Sagiv Ben Giat 11h
What are you using to check your types for custom hooks (beside typescript / flow)? Seems like propTypes are not supported...
Reply Retweet Like
Sagiv Ben Giat 22h
Replying to @gdavis92 @getify and 2 others
Sounds great, can anyone join?
Reply Retweet Like
Sagiv Ben Giat Feb 21
Replying to @jaredpalmer
This line always confused me, but it seems to be doing exactly that
Reply Retweet Like
Sagiv Ben Giat Feb 21
Replying to @getify
I would love it if you QA my articles 🤓😬
Reply Retweet Like
Sagiv Ben Giat Feb 21
Replying to @acemarke
Sounds legit, that's what i was afraid of 😬 Thanks!
Reply Retweet Like
Sagiv Ben Giat Feb 21
Replying to @acemarke
> We established last year that bumping the version of a peer dep is a major Who is we and how did you make this decision? I'm in the exact situation now and not sure what path to take, update major or minor :/
Reply Retweet Like
Sagiv Ben Giat Feb 21
Replying to @WebReflection
I mean that sometimes we need to node.addEventListener - in one place and node.removeEventListener - in another place I was just curious if i'm not missing something. Here is a small naive example
Reply Retweet Like
Sagiv Ben Giat Feb 21
Replying to @WebReflection
Yeah, that's what we are doing most of the time. I was mostly aiming towards the remove the handler inside the handler's context part.
Reply Retweet Like
Sagiv Ben Giat Feb 21
Replying to @WebReflection
I like this pattern (the ability to remove the handler within the context itself), though sometimes you need to remove the listener outside the context. E.g in the return function of a react useEffect.
Reply Retweet Like
Sagiv Ben Giat Feb 19
Hehe poor her
Reply Retweet Like
Sagiv Ben Giat Feb 19
Replying to @sag1v
Reply Retweet Like
Sagiv Ben Giat Feb 19
So it turns out all phones got a "find my mobile" notification with couplec of 1's?
Reply Retweet Like
Sagiv Ben Giat Feb 18
Replying to @serge_raichman
Reply Retweet Like
Sagiv Ben Giat retweeted
foone Feb 17
So I learned of an amusing bug today: Docker for Windows won't run if you have the Razer Synapse driver management tool running. But the reason is the funny part...
Reply Retweet Like
Sagiv Ben Giat Feb 18
Replying to @Foone @tzafrirben
Reply Retweet Like
Sagiv Ben Giat Feb 17
Replying to @jordwalke
I wonder what triggered this thought
Reply Retweet Like
Sagiv Ben Giat Feb 16
let/const/class are "hoisted", they are just uninitialized until the statement is evaluated (unlike other declarations which initialized to undefined) and you can't access them before it (TDZ). Is this a good illustration of them "hoisted"?
Reply Retweet Like
Sagiv Ben Giat Feb 14
If someone needs a date for valentines, this one is for you Date.prototype.getDate()
Reply Retweet Like
Sagiv Ben Giat Feb 14
Replying to @ryanflorence
Not sure how old, do you mean our precious $.extend? 😬
Reply Retweet Like
Sagiv Ben Giat retweeted
Ibragim Bekliev 🙂 Feb 12
Recommend! One of the best explanations! "JavaScript - The "this" key word in depth" by
Reply Retweet Like