call0fcode's profile picture. Un dia te levantas y...

Juan Gómez Carrillo

@call0fcode

Un dia te levantas y...

Juan Gómez Carrillo đã đăng lại

🧨 Unpopular opinion: try {} should have been designed not to behave like a regular block wrt block scoping variables. It’s rarely if ever useful, since its scoping is not conceptually meaningful. Effectively, it’s more of a code annotation than control flow. Unlike control flow…


Juan Gómez Carrillo đã đăng lại

The more your tests resemble the way your software is used, the more confidence they can give you.


Juan Gómez Carrillo đã đăng lại

This pattern: test('whatever', () => { const foo = someThing() // use foo }) makes for a WAY simpler testbase than: let foo beforeEach(() => { foo = someThing() }) test('whatever', () => { // use foo }) Avoid mutable variables. Your tests will be easier to understand


How To Not Get Blocked While You’re Waiting For A Code Review by @GeeWengel gustavwengel.dk/how-to-not-get…


Juan Gómez Carrillo đã đăng lại
_yesbut_'s tweet image.

Juan Gómez Carrillo đã đăng lại
_yesbut_'s tweet image.

Do you really know what exactly should you add to a dependency array in React? Really? Thanks to @devtrium you'll grasp it with a great and concise explanation! devtrium.com/posts/dependen…


Do you need an icon for your app or website? Are you struggling through thousands of pages to find the icon you need? 🙄🤬 icones.js.org You'll love this 2 sites! ❤ Literally thousands of icons in one place. Among othe…lnkd.in/ek-HT5tp lnkd.in/eqFp8qsN


Last week I posted I ready-to-use & full of features React + TypeScript template. This time I come with the React-only version for those not using TypeScript at all⚛😉 Repo: lnkd.in/eneCFaRY #react #vite #eslint #sass #prettier #tailwindcss #template #happycoding


Have you ever used console.time() or console.assert()? Neither do I 🤯 Check it out! I learned some handy JS console methods that I didn't know about until now. #WebDevSimplified #JavaScript lnkd.in/gkajEyFC


Loading...

Something went wrong.


Something went wrong.