Philipp Rost
  • Home
  • About
Subscribe
Tagged

typescript

A collection of 3 posts

Building forms with React and Typescript + Antd
react

Building forms with React and Typescript + Antd

When building forms it can get easily hideous taking care of all the validation and when using Typescript we need to ensure we keep our models aligned. Luckily the Antd design system comes here to the rescue, especially when quickly building some sort of Management Dashboard application. Not only does

  • Philipp Rost
Philipp Rost Jun 22, 2021 • 4 min read
Chaining commands/methods in Typescript
chaining commands

Chaining commands/methods in Typescript

Chaining methods is incredibly useful when simplifying complex object creation. Let's say we have a class/object that accepts quite a large number of constructor arguments. As you can see in the example below, we have two optional arguments called strength and health. We can create setter methods for those

  • Philipp Rost
Philipp Rost May 18, 2021 • 1 min read
The Adapter Pattern
design patterns

The Adapter Pattern

The adapter pattern helps establishing a communication between two different interfaces. Basically the adapter takes an existing implementation of a class and wraps it while exposing a compatible interface it can then use to communicate with the client. Let's imagine we have an existing application which is for example a

  • Philipp Rost
Philipp Rost May 14, 2021 • 1 min read
Philipp Rost © 2022
  • Data & privacy
  • Contact
  • Contribute →
Powered by Ghost