DEV Community

Discussion on: Last minute guide to React.useEffect()

Collapse
 
rmorse profile image
Ross Morsali • Edited

Great article! useEffect can be used in so many ways - I've also started using useLayoutEffect for certain things.

Also: something I learnt recently, if you add javascript to your code blocks you will get syntax highlighting πŸ₯³ dev.to/hoverbaum/how-to-add-code-h...

Collapse
 
mateusvellar profile image
Mateus V. Vellar

Works for GitHub markdown as well. You can use javascript or just js or even jsx or graphql

Collapse
 
forkbikash profile image
Bikash Mishra

Thanks @rmorse . Just edited my post after reading your blog. It was amazing.

Collapse
 
rmorse profile image
Ross Morsali

Look great!

Btw the article I linked was by someone else, I just read it recently when writing my first dev.to post πŸ˜ƒ

Thread Thread
 
forkbikash profile image
Bikash Mishra • Edited

Sorry, I didn't see thatπŸ˜…. Anyway, you are the one who helped me get in touch with the article. Thanks for that.