little cubes

Posts tagged "typescript"

  1. How to stop using so many optional properties in your React TypeScript props

    Using TypeScript unions to define relationships between props

  2. Death to Default Exports!

    Why you should go right now and delete every "default" from your codebase

  3. When to use each JavaScript iteration method

    And a practical guide to the reduce() function

  4. How to test TypeScript type definitions with Jest

    You can add tests for your static TS types right next to your regular Jest tests

  5. Strongly typing a React "component" prop

    Allowing customization of the root node of a React component & maintaining correct prop typing

  6. 8 JavaScript Testing Mistakes to Avoid

    In no particular order

  7. How to get started with Azure Functions in Node.js

    What I've learned from my confusing initial experience setting up Azure Functions in JavaScript