Best of Logging β€” July 2022

  1. 1
    Article
    Avatar of devtoDEVΒ·4y

    JavaScript Proxy the Fetch API

    The Fetch API is a native wrapper to efficiently perform requests to URLs. We can use Proxy to extend any object, array, or function, so it is logical. Let's say our app has a file that handles all API calls, and they all use the F fetch API.

  2. 2
    Article
    Avatar of hnHacker NewsΒ·4y

    Logging in Python like a PRO 🐍🌴

    Most people don't know what to log, so they decide to log anything thinking it might be better than nothing, and end up creating just noise. I'll try to give meaningful examples, and provide a flexible rule of thumb that should be used when logging for ANY application you're ever going to build.

  3. 3
    Article
    Avatar of itnextITNEXTΒ·4y

    How to Become Cross Functional Polyglot Developer

    We need to develop applications in a testable matter. All the business requirements and features must be testable. With unit testing, we prove that our code works, respecting what the business said. In DDD we can provide a clean solution to complex business domains. We can dive into containers from a higher level with Docker.

  4. 4
    Article
    Avatar of jsPlainEnglishJavaScript in Plain EnglishΒ·4y

    5 Clever Hacks for React-Query and SWR

    Five Clever Hacks for React-Query and SWR: The Video!Simplified Multiple Fetches: Use a for loop to iterate through an array of values and then request the JSON for each of them before returning it all. Using a Promise instead of a Promise for each value will also work, but it won’t work with forEach.