RetweetJS #4

Jishaal Kalyan
Oct 8, 2018 · 1 min read

A weekly(ish) digest of notable JavaScript related tweets from my Twitter bubble

In this RTJS, we have a few more tips to make your development life easier! Enjoy!

🌳 Log this II

Similar to the implicit return trick mentioned in the first RTJS, this tip from Wes Bos lets you easily log values when traversing and modifying an array.

✅ Yes or No

Name things well and future you will thank yourself. Cheers Samantha Ming!

📦 Pass the parcel

A neat tip from Travis Arnold that shows how we can use React’s forwardRef API to neatly expose component internals.

That’s it for another iteration of RetweetJS. Make sure to share with your friends and colleagues!