An Ad Hoc Approach to Passing Elements from Blazor to JavaScrip

Here's a tool to help you integrate Blazor and JavaScript by passing HTML elements defined in Blazor to JavaScript functions. In a previous column I described an architectural, design-pattern-based approach to integrating JavaScript and Blazor code. However, if you just need to pass one element from your Blazor page to some JavaScript functions, that approach might be overkill.

Tagged Unions and User-Defined Type Guards in TypeScript

Tagged Unions and User-Defined Type Guards in TypeScript - A Pattern for Type Discrimination

Deno in 100 Seconds

Deno is a brand new JavaScript runtime, similar to Node.js. Use it to develop secure server-side apps with built-in TypeScript support, ES modules, and promise-based APIs.