Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Itchimonji/refactoring-switch-statements-in-angular

Open more actions menu

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

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.