Max Lascombe
281 posts

Max Lascombe
@MaxLascombe
Head of dev @ YouGov Finance · #lifetothemax newsletter
New York, USA Katılım Kasım 2012
373 Takip Edilen180 Takipçiler

@AndaristRake @TkDodo @MaxLascombe @therealtaochu Doesn’t brake the rules of hooks? Calling the set state conditionally?
English

@MaxLascombe @TkDodo @therealtaochu Maybe I’m missing something but I don’t think you need useState at all? Just pass the prop value directly to the input and call your onChange prop while skipping the local state too
English

@TkDodo @therealtaochu More context:
If I don’t separate the input into a separate component, on every render it sets the value of the input to the state value, even if state hasn’t changed. If I use defaultValue, the value of the number input won’t change when I change the range input.
English

@TkDodo @therealtaochu What about in the case of a controlled input?
I have a range input and a number input both controlling the same state. I only want the number input to update the state when the target value is valid.
Am I doing smth wrong here? How do I fix this?

English

@KaylaTrivieri In your settings go to your appleid (at the top), then click media and purchases then change your region
English

What bucket list goals will I complete this year?
#BUCKETLIST #goals
open.substack.com/pub/lifetothem…

English
Max Lascombe retweetledi
Max Lascombe retweetledi


Wtf y is it the final season
Succession@succession
’Til the bitter end. Final trailer in one hour. #Succession
English

lifetothemax -- My website: maxlascombe.com ! lifetothemax.substack.com/p/my-website-m…
English

howdy y’all
today we released our debut album ‘crush’ on all yr favorite and least favorite streaming services
all songs written and performed by better living.
recorded and mixed by me (Gavin)
mastered by @mgoings
album artwork by @angstycrybaby



English













