Shripal Soni (@codewithshripal) 's Twitter Profile
Shripal Soni

@codewithshripal

• Freelance web developer with 14+ years of experience
• Sharing practical web dev tips regularly
• Get 250+ well-illustrated frontend tips at cws.tips

ID: 4818053003

linkhttps://www.codewithshripal.com/ calendar_today16-01-2016 13:37:04

9,9K Tweet

9,9K Followers

251 Following

Shripal Soni (@codewithshripal) 's Twitter Profile Photo

Chrome Dev Tools Tips 💡 Do you know we can search for a string across all the loaded javascript and CSS files of the webpage? I have found it very useful for performance optimization and reverse-engineering tasks.

Shripal Soni (@codewithshripal) 's Twitter Profile Photo

For years, I didn’t know there was a cleaner way to add properties conditionally to an object. I used to write an if block every time I wanted to add a property to an object on a condition. Then I discovered this simple trick 👇 One line. More readable. Easier to maintain ✨

For years, I didn’t know there was a cleaner way to add properties conditionally to an object.

I used to write an if block every time I wanted to add a property to an object on a condition.

Then I discovered this simple trick 👇

One line. More readable. Easier to maintain ✨
Shripal Soni (@codewithshripal) 's Twitter Profile Photo

Do you know we can easily use the last expression result using $_ in Console of Chrome Dev Tools? 🤩 No need to assign the expression result to a temporary variable ✨