#javascript
Read more stories on Hashnode
Articles with this tag
async/await vs promises · Key takeaways: Promises can run code after some other code has completed async/await is just syntactic sugar Promise.all is...
Typical use-cases and rare edge-cases · JavaScript arrays have a builtin sort method, which mostly does what you expect: [1, 4, 2, 3].sort(); // [1, 2,...
Rounding errors are inevitable · TL;DR: No datatype will ever be able to represent all numeric values perfectly Rounding errors will always...
Why I don't use the `fix` option · Photo by Nagesh Badu on Unsplash TL;DR: ESLint should identify semantic errors which require programmer intervention...
Why you shouldn't use React.FC · Here are the big takes right away: Don't use React.FC. Explicitly type your props including permitted children...
Photo by Jeremy Zero on Unsplash Several of React's hooks take a 'dependency array' argument. In this post, I will talk about different ways to use...