Skip to content

Itchimonji/refactoring-switch-statements-in-angular

Repository files navigation

How to Refactor a Switch Statement In Angular (Example)

This project was generated with Angular CLI version 10.1.6.

Development server

Run npm install and ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

UML of the Factory Method of these example

FactoryMethod

About

The Factory Method Pattern to avoid switch statements in Angular

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published