Twitter | Search | |
Ben Awad
Software Consultant ○ YouTuber ○ Creator of ○ React.js and GraphQL Enthusiast
1,612
Tweets
253
Following
1,992
Followers
Tweets
Ben Awad Jun 14
Replying to @swyx
I think this causes some friction for beginners but overall I like the flexibility of the approach and then I can pick something like Next.js or Gatsby when I want something more opinionated
Reply Retweet Like
Ben Awad Jun 13
fish shell is a good one to try too
Reply Retweet Like
Ben Awad Jun 13
Replying to @brunolemos @sseraphini
From what I've seen AppSync seems to have the most support for offline stuff
Reply Retweet Like
Ben Awad Jun 13
Replying to @Swizec
Reply Retweet Like
Ben Awad Jun 13
Replying to @traversymedia @YouTube
Easy Peasy and Mobx are my favorite state management libraries right now
Reply Retweet Like
Ben Awad retweeted
PATAGUCCI MANE Jun 12
I’m a big fan of TDDD. Typescript Definition Driven Development.
Reply Retweet Like
Ben Awad Jun 12
Replying to @Swizec
random order each time because forEach won't wait for the promise to resolve
Reply Retweet Like
Ben Awad Jun 12
Replying to @c_alares
weird idk then, I would assume it would pick it up
Reply Retweet Like
Ben Awad Jun 12
Replying to @c_alares
are you using: export const hello = connect()(Component)
Reply Retweet Like
Ben Awad Jun 12
Replying to @c_alares
It works better for named exports It has trouble with export default
Reply Retweet Like
Ben Awad Jun 12
Replying to @c_alares
I think it works by default in vscode if you have your cursor over a variable and hit cmd+.
Reply Retweet Like
Ben Awad Jun 11
Some other ideas I had: useLayoutEffect(() => {}, children) useLayoutEffect(() => {}, (c => c.props)) useLayoutEffect(() => {}, [children.length]) const deps = [] children.forEach(c => deps.push(...Object.values(c.props))) useLayoutEffect(() => {}, dep)
Reply Retweet Like
Ben Awad Jun 11
useRef to count the number of times a component has rendered in React
Reply Retweet Like
Ben Awad Jun 11
can you add the children as a dependency?
Reply Retweet Like
Ben Awad Jun 11
Replying to @pantharshit00
Yeah that's similar to what I was thinking
Reply Retweet Like
Ben Awad Jun 11
Are you rotating your JWT secret? If so how?
Reply Retweet Like
Ben Awad Jun 11
Replying to @kamofthefuture
I've been using sendgrid because they had a a sweet free plan for student
Reply Retweet Like
Ben Awad Jun 10
Replying to @amandeepkochhar
Custom
Reply Retweet Like
Ben Awad Jun 10
Replying to @ziaullahSays
a credible person would use a good email and now they can use the website sooner
Reply Retweet Like
Ben Awad retweeted
Gumroad Jun 10
To celebrate $200M sent to creators, we're going to give $2,000 to a random person who retweets this tweet! (you have to be following us so we can DM you if you win)
Reply Retweet Like