Setup Webpack HMR with Express server and React
ReactProgrammatically setup an Express server with Webpack’s Hot Module Replacement (HMR) to host a React web application.
Continue reading →Programmatically setup an Express server with Webpack’s Hot Module Replacement (HMR) to host a React web application.
Continue reading →React and TypeScript are a great team because TypeScript supports the JSX syntax. This tutorial will show you code examples on how to type your React web application, so that you can benefit from strong typing in your UI components.
Continue reading →A generator function returns a lazy iterator, which generates data only on demand. In the following tutorial, Benny will show you how to code your own generator functions in TypeScript. You will learn the differences between iterators and iterables and how to refactor your code to use generator functions.
Continue reading →When developing class functions that don’t rely on an internal state, it’s a good idea to turn them into static methods. This can be easily done by adding the keyword static
to your function’s declaration.
Setting up a TypeScript project with Node.js takes only a few minutes. Here is how to do it the fastest way by just using npm
and yarn
.
Extending the EventEmitter
class from Node.js might cause error TS2307. Here is how to fix it.
TypeScript 3.8 introduces a new functionality which is called top-level await. It allows developers to use the await
keyword without a surrounding async
function at the top level of a module.
Learn how to get the milliseconds of a specified date in your desired timezone.
Continue reading →Configuring code coverage with TypeScript and Karma to get coverage reports for code running in web browsers.
Continue reading →Overview of main concepts in Electron 4 applications.
Continue reading →