codewithshripal's profile picture. • Freelance web developer with 14+ years of experience
• Sharing practical web dev tips regularly
• Access 250+ tips → https://tipshub.dev

Shripal Soni

@codewithshripal

• Freelance web developer with 14+ years of experience • Sharing practical web dev tips regularly • Access 250+ tips → https://tipshub.dev

Shripal Soni 已轉發

We've raised $100M from Kleiner Perkins, Index Ventures, Lightspeed, and NVIDIA. Today we're introducing Sonic-3 - the state-of-the-art model for realtime conversation. What makes Sonic-3 great: - Breakthrough naturalness - laughter and full emotional range - Lightning fast -…


Better way to find an item from the end of the array in javascript 🤩👇

codewithshripal's tweet image. Better way to find an item from the end of the array in javascript 🤩👇

Improve page load speed by deferring non-critical scripts 🚀

codewithshripal's tweet image. Improve page load speed by deferring non-critical scripts 🚀

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 ✨


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 ✨

codewithshripal's tweet image. 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 ✨

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.


Loading...

Something went wrong.


Something went wrong.