Best of LoggingNovember 2021

  1. 1
    Article
    Avatar of hnHacker News·5y

    Firefox Relay

    Firefox Relay will no longer forward messages sent to ⁨⁩. Once you delete this alias, it cannot be recovered. If you recreate a deleted alias, emails sent to the original alias will continue to be forwarded. You should update your login with a different email address before youdelete this one.

  2. 2
    Article
    Avatar of hnHacker News·5y

    Developer Tools secrets that shouldn’t be secrets

    Microsoft Edge’s Console is the most used part of the browser developer tools. There are a few problems with that, and there are better ways to debug scripts. This is a talk that I’ve given at CityJS this September. These are things I encountered during working on the tools and going through user feedback.

  3. 3
    Article
    Avatar of gcgitconnected·5y

    Dependency Injection in TypeScript

    Dependency Injection in TypeScript is a way to separate domain and persistence layers in Node apps. We can use TypeScript decorators to create our own DI service with help of the Dependency Manager. We have Logger classes we want to inject and DependencyManager which stores all needed mappings.

  4. 4
    Article
    Avatar of devtoDEV·4y

    Become A JavaScript Console Expert

    The console.log can do so much more than just print variables. Show name-value pairs and show specific error messages. Grouping can be helpful if you want to see your console grouped by specific sections. The console.assert() method writes an error message to the console if the assertion is false.

  5. 5
    Article
    Avatar of reactnativeexampleReact Native Example·4y

    React Native APIs turned into React Hooks for use in functional React components

    React Native APIs turned into React Hooks allowing you to access asynchronous APIs directly in your functional components. You must use React Native >= 0.59.0 to use the Hooks. The Hooks API will change between one of ‘active’, ‘background’ or (iOS) ‘in active’ when the app is closed or put into the background.

  6. 6
    Article
    Avatar of devtoDEV·5y

    Learn JavaScript Closures in 7 mins

    Closures are functions that have access to the scope of outer functions even when the outer functions have closed (no longer active) This means a child function can make use of any local variable declared in a parent function anytime, even after the parent function has been called and is no longer active.