DEV Community

Discussion on: The Strategy Pattern Exemplified in TypeScript

Collapse
lmarqs profile image
Lucas Marques de Paula

I think it would be great if in this example the user could choose to sort by one or more criteria. How could we approach this scenario?