4 articles JavaScript

React & Spring Boot

Problem We want to combine Spring Boot with a simple React frontend. Use the React development features but also be able to use the Spring IDE. In the end, everything should be built using Maven and nicely packed into a JAR, just like any other Microservice. Let’s get started. Multi-Module project First we create a…

A better way for TypeScript Enum

A better way to define enums in Typescript In this way it is much easier to provide an enum including a potential mapping to a different value e.g. a display value. This solution is usually considered being better, as long as enums aren’t supported by JavaScript natively. Links

JavaScript Module Pattern or Just Private Variables

JavaScript is a wonderful language to get thinks fundamentally wrong from the start. As so where are many patters around to help us to avoid some of these challenges ;-). The module pattern is one of the most known and used. It helps us to create private variables or better to avoid side effects in…