Max Lascombe

281 posts

Max Lascombe banner
Max Lascombe

Max Lascombe

@MaxLascombe

Head of dev @ YouGov Finance · #lifetothemax newsletter

New York, USA Katılım Kasım 2012
373 Takip Edilen180 Takipçiler
Dominik 🔮
Dominik 🔮@TkDodo·
Let's play: "You Might Not Need this Effect". It's a game where you show me some code where you use useEffect, and I'll try to find a way to remove it. Hit me 🤘
English
106
83
1.6K
335.7K
matt ⛵️
matt ⛵️@_mattweir·
@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
1
0
1
47
Max Lascombe
Max Lascombe@MaxLascombe·
@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
2
0
1
242
Max Lascombe
Max Lascombe@MaxLascombe·
@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?
Max Lascombe tweet media
English
2
0
1
370
Max Lascombe
Max Lascombe@MaxLascombe·
@KaylaTrivieri In your settings go to your appleid (at the top), then click media and purchases then change your region
English
1
0
0
78
the dutchess of bushwick
can anyone help me switch my app store country to america 🇺🇸🦅? urgently need to download the dunkin app.
English
1
0
1
219
mrsa, MPH
mrsa, MPH@mrsa_infectii·
another blue cornbread but different recipe
mrsa, MPH tweet media
English
3
0
1
141
mrsa, MPH
mrsa, MPH@mrsa_infectii·
cornthread* ‼️ these are 4 cornbreads i’ve made this year *cornbread thread
mrsa, MPH tweet mediamrsa, MPH tweet mediamrsa, MPH tweet mediamrsa, MPH tweet media
English
2
0
8
946
Max Lascombe
Max Lascombe@MaxLascombe·
Dang they have iStoves in Cambodia
Max Lascombe tweet media
English
0
0
3
154
Max Lascombe retweetledi
React
React@reactjs·
Today, we’re thrilled to launch react.dev, the new home for React and its documentation. It teaches modern React with function components and Hooks, and we’ve included diagrams, illustrations, challenges, and over 600 interactive examples. Check it out!
English
239
2.9K
12.3K
2M
Max Lascombe retweetledi
Theo - t3.gg
Theo - t3.gg@theo·
THEY REMOVED THE CREATE REACT APP RECOMMENDATION. IT’S OVER.
Theo - t3.gg tweet media
English
90
368
3.8K
847.7K
Max Lascombe
Max Lascombe@MaxLascombe·
Loving the new @substack monthly digest feature Gotta get those numbers up
Max Lascombe tweet media
English
0
0
1
163
better living.
better living.@betterlivingdot·
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
better living. tweet mediabetter living. tweet mediabetter living. tweet media
English
4
8
24
6K