Twitter | Search | |
Matt Hamlin
Senior Design Systems Engineer working . alum.
17,575
Tweets
1,115
Following
1,193
Followers
Tweets
Matt Hamlin 19h
Replying to @jessfraz
Started work on a react code editor component that I just put up on NPM + GitHub:
Reply Retweet Like
Matt Hamlin retweeted
Farbod Saraf Feb 16
This footage of a drone following a race looks like its from a video game
Reply Retweet Like
Matt Hamlin 20h
Replying to @_danoc
Ah I think I figured out what I was doing wrong, I wanted line wrapping but it defaults to preserve, --proseWrap always fixed it for me. Not sure why it was getting stuck on the frontmatter before.
Reply Retweet Like
Matt Hamlin 21h
Has anyone figured out how to get prettier to format MDX that has yaml frontmatter in it? Seems to get stuck on the syntax 🤔
Reply Retweet Like
Matt Hamlin Feb 16
Replying to @swyx
Yeah, following recent comments from Sebastian on the react repo makes me worry about external data models in react and concurrency. Maybe just me reading into it too much but it feels like those models won't scale well. Definitely a though provoking space in general!
Reply Retweet Like
Matt Hamlin Feb 16
Replying to @christoomey @_hagnerd
Thanks!
Reply Retweet Like
Matt Hamlin Feb 16
Replying to @_hagnerd @christoomey
Ooh can you share a link if there is one? Don't think I've watched that yet.
Reply Retweet Like
Matt Hamlin retweeted
Dan Abramov Feb 16
Figured it’s time to update this article. I’ve been saying this many times over the past few years but people still keep quoting this article as a justification for artifical separation.
Reply Retweet Like
Matt Hamlin Feb 16
Replying to @immatthamlin
I'll have to dive back in and mess around more with react-cache soon to get a better sense on this pattern.
Reply Retweet Like
Matt Hamlin Feb 16
Replying to @immatthamlin
I am still a bit hazy about what that data fetcher looks like, i.e. will it be a created resource based on the patterns from the react-cache alphas, or will it be some promise returning function allowing the consumer to own the cache creation?
Reply Retweet Like
Matt Hamlin Feb 16
Replying to @immatthamlin
This can be done with graphql, or with regular old ajax requests, the key being that the component will export something that triggers suspense from where the user wants to implement the component.
Reply Retweet Like
Matt Hamlin Feb 16
I'm too lazy to write up a full blog post about this, but I think an interesting codebase pattern that will start picking up soon in React applications will be modules exporting a data fetcher along with the component.
Reply Retweet Like
Matt Hamlin Feb 16
I got a PC around October of last year, and I have never owned another piece of tech with so many problems. Going to try a factory restore of it soon to hopefully that will fix some of the issues.
Reply Retweet Like
Matt Hamlin Feb 12
Replying to @m_gol
That's an interesting question, I'm not sure if it too tightly couples state, I think there is a constant trade off between the benefits mentioned in the post and reusability of some logic.
Reply Retweet Like
Matt Hamlin Feb 11
Replying to @kentcdodds
👀 Thanks so much! 🤗
Reply Retweet Like
Matt Hamlin Feb 11
Replying to @iamsapegin
🤔 I'll have to look into this, I think it may just be a styling issue
Reply Retweet Like
Matt Hamlin Feb 11
Actually using 's for deploys!
Reply Retweet Like
Matt Hamlin Feb 10
Replying to @iamsapegin
Finally wrote the article:
Reply Retweet Like
Matt Hamlin Feb 10
Replying to @immatthamlin
Reply Retweet Like
Matt Hamlin Feb 10
Just published: useReducer, don't useState Give it a read and let me know what you think!
Reply Retweet Like