Twitter | Search | |
Haz
Autistic developer. Author of . Building things for humans at . Mostly working with and design systems. He/him.
3,294
Tweets
182
Following
2,349
Followers
Tweets
Haz retweeted
React Finland Oct 28
Remember to join mini-conf about lessons learned today with , , , and . * Public stream: . * Schedule:
Reply Retweet Like
Haz Oct 28
It’s a friendship where one is more controlled than the other.
Reply Retweet Like
Haz Oct 27
Replying to @erikras @finalformjs
Also, I'm planning to join that form lib wars at some point in the future, which is probably a terrible idea given that I already have many challenges to deal with. 😆
Reply Retweet Like
Haz Oct 27
Replying to @erikras @finalformjs
Oh, I thought you were collaborating together on forms. But I can understand how Jared may feel about that as this is his business. Personally, I'm excited to see what Reach UI and React Aria folks are working on, and they're always welcome to plug their work in my tweets.
Reply Retweet Like
Haz Oct 27
Replying to @dan_abramov
Docs around React render “purity”, since this is not so obvious when you’re using React hooks, especially useRef, or when you use console.log on render, and not in an effect. Examples of what not to do would be great.
Reply Retweet Like
Haz Oct 26
Replying to @ryanflorence
Unfortunately, most characters aren’t very deep like that. I would like to discuss about Tom Riddle with him, but the character was pretty much 100% evil all the time, at least in the movies.
Reply Retweet Like
Haz Oct 26
Replying to @ryanflorence
Similarly, Draco wasn’t really evil. He was influenced by his parents and the environment surrounding him. He was probably suffering inside. So we talked about how his good friends could’ve helped him.
Reply Retweet Like
Haz Oct 26
Replying to @ryanflorence
We’ve talked about the bullying he had suffered in his childhood and how this molded his personality. If the school had paid enough attention to it, he could’ve been a happier person.
Reply Retweet Like
Haz Oct 26
Replying to @ryanflorence
I’ve rewatched all movies with my 6yo son recently (it was his first time). I think the character that most inspired discussion after each movie was Snape. The fact that you can’t tell he’s good or evil until the end made us talk about how you can’t make preconceptions on people.
Reply Retweet Like
Haz Oct 26
Replying to @naluhh
De quebra ainda aprendi muito sobre programação e datas. Anos bissextos são terríveis! 😅
Reply Retweet Like
Haz Oct 26
Replying to @naluhh
Fiz um site que calcula o tempo desde que nos conhecemos em que um mês equivale a um ano (porque depois de alguns meses juntos, já parecia que nos conhecíamos há anos). O site mostra a data atual corrigida após a distorção do espaço-tempo 😄
Reply Retweet Like
Haz Oct 23
Replying to @chancethedev
I'm planning to use the aria-hidden technique to support role="menu" elements with modal behavior and older screen readers. But I would like to avoid this, to be honest. 😅
Reply Retweet Like
Haz Oct 23
Replying to @chancethedev
The 3 main screen readers (NVDA, JAWS, VoiceOver) support aria-modal when used with the dialog role. VO doesn't support nested aria-modal elements (). Narrator doesn't support it as well as older versions of TalkBack (haven't tested on newer versions).
Reply Retweet Like
Haz Oct 22
Replying to @hhg2288
Congratulations! 🎉 I’ll start on that journey in December with a 🇪🇸 residence visa.
Reply Retweet Like
Haz Oct 22
Replying to @dai_shi @pedronauck
Oh, nice! I remember playing with Context's changed/observedBits a while ago. Not a pleasant job haha! What's your opinion on useMutableSource? That's my last hope if my current Pub/Sub idea doesn't work.
Reply Retweet Like
Haz Oct 22
Replying to @dai_shi @pedronauck
Oh, just noticed you were the person who posted the "ref" issue on that thread hahah! Thanks!
Reply Retweet Like
Haz Oct 22
Replying to @dai_shi @pedronauck
I haven't dug into Jotai's code yet, but the "state resides within React" statement is really interesting. Does this mean that it uses useState/useReducer internally? I would love to learn more about it.
Reply Retweet Like
Haz Oct 22
Replying to @dai_shi @pedronauck
I'm afraid of that too. I'm following closely the work on CM and adopting all the recommended practices to avoid problems, like not reading refs in the render phase. I'm testing it against CM, but it's hard to identify all the edge cases:
Reply Retweet Like
Haz Oct 22
Replying to @dai_shi @pedronauck
It would add a .subscribe() and .getState() to the state value and propagate them through the context instead of the dynamic state value itself. This would be a mix of React Hooks and the Pub/Sub pattern. From initial experiments, it seems to work well. But I'm still not sure 😅
Reply Retweet Like
Haz Oct 22
Replying to @dai_shi @pedronauck
Yeah! I love it (although I’m biased haha). I’m studying ways to add dynamic selectors too (that would be passed to the hook in the component). So the use cases for Recoil would also be covered by Constate.
Reply Retweet Like