Alberto De Agostini

745 posts

Alberto De Agostini

Alberto De Agostini

@albertodeago88

Sports and technology enthusiast. I dream a world where people write to each other just using Gifs and Memes

Padua, Veneto เข้าร่วม Nisan 2019
470 กำลังติดตาม79 ผู้ติดตาม
Steve (Builder.io)
Steve (Builder.io)@Steve8708·
people who work from home, what do you eat for lunch every day? need inspo
English
227
4
202
163.8K
Warp
Warp@warpdotdev·
Currently brainstorming new swag items! What do people want? (Here's what we've currently got.)
Warp tweet mediaWarp tweet mediaWarp tweet media
English
52
7
195
29.4K
jess
jess@_jessicasachs·
nvm, n, or what?
English
61
3
37
31.9K
Filip Rakowski
Filip Rakowski@filrakowski·
@albertodeago88 Same reason why setTimeout(() => console.log(2), 100) setTimeout(() => console.log(4), 0) will return 4 2 Try to go through the call stack, see when functions and their callbacks are executed and you'll see it.
English
1
0
0
80
Filip Rakowski
Filip Rakowski@filrakowski·
Quiz time! 🧾 Time for async JS question! Without running it, can you tell what will be the output of this code? Can you explain why?
Filip Rakowski tweet media
Wroclaw, Poland 🇵🇱 English
12
0
24
17.8K
Filip Rakowski
Filip Rakowski@filrakowski·
@albertodeago88 Veeeeeery close, but no. BTW - I prefer the word "tricky" considering the wrong use of "setTimeout" which actually changes its expected behavior. I get your point tho 😅
English
1
0
0
493
Alberto De Agostini
Alberto De Agostini@albertodeago88·
@antfu7 @VueUse amazing, we've implemented something similar in vue2 where I worked and it was pretty hard to make it, so cool to see the implementation in vue3, way simpler
English
0
0
0
160
Anthony Fu 🦋 @antfu.me
Thanks for all the comments - they are inspiring! I ended up with a more general approach: ⏳ Create a Promise from your template! github.com/antfu/vue-temp… Let me know what you think! If it ends up well, we might move it to @VueUse :)
Anthony Fu 🦋 @antfu.me@antfu7

What's your best solution to custom confirm dialog solutions for UI frameworks (Vue, React, etc.)? For better DX, it should be programmatically callable with a promising return, while being able to provide custom views (like checkboxes in the confirm etc.).

English
8
2
111
22.5K
Jenny Ma🦄
Jenny Ma🦄@JennyMaMTL·
Hey Tech Twitter! For junior web developers, which testing library do you recommend them to learn? What's the go-to now? Jest? Chai?
English
24
0
26
7.3K
Stefano Magni
Stefano Magni@NoriSte·
Something drastic has happened to our E2E tests...
Stefano Magni tweet media
English
5
0
8
623
Marc Backes
Marc Backes@marcba·
Which browser(s) are you using? ✨ Chrome 🦊 Firefox 🦁 Brave 🪟 Edge 🦓 Safari 🦆 DuckDuckGo 🎵 Opera 🤷‍♂️ Other
English
159
10
154
62.9K
Alberto De Agostini
Alberto De Agostini@albertodeago88·
@WebStormIDE 1) The search 2) the search 3) the search The ctrl+shift+F of webstorm is by far the only feature that make me want to use webstorm as an IDE the possibility to edit files directly in the modal, the speed, the dev experience in general when needing to search and edit files
English
0
0
0
0
WebStorm, a JetBrains IDE
WebStorm, a JetBrains IDE@WebStormIDE·
With this question, we'd like to hear from experienced developers who use WebStorm. What are your current top 3 favorite WebStorm features? Asking for a friend 😉
English
61
4
58
0
Nicky McCurdy
Nicky McCurdy@nickemccurdy·
@mcsee1 I'd rephrase this: If you use mocks, you are not testing what you have mocked.
English
3
2
56
0
Maxi Contieri
Maxi Contieri@mcsee1·
If you use mocks, you are not testing.
English
131
41
454
0
Alberto De Agostini
Alberto De Agostini@albertodeago88·
Hey is there some Next.js champ that can help me with this? Maybe @timneutkens Regarding env var, see 🧵
English
1
0
0
0
Alberto De Agostini
Alberto De Agostini@albertodeago88·
e.g. export MY_VAR=foo && npm run build and in my env.local I've MY_VAR=bar in my next app I see 'foo' as value but I want to see 'bar'
English
0
0
0
0
Alberto De Agostini
Alberto De Agostini@albertodeago88·
I'm playing with env var, and I see that I can define on my .env file some var and override them in my .env.local The question is: if I have an env var already defined, can i override it somehow? in one of the env file? I'm not able to do so
English
1
0
0
0