DEV Community

loading...

Discussion on: Are you committing these mistakes as a Vue developer?

napoleon039 profile image
Nihar Raote Author

I asked Chris over the weekend. The example he gave was from a situation he came across. I think he even mentioned it in the podcast but I think I forgot about it 😛 .

The situation is that you have some input components that you're using for multiple currency handling. So depending on the currency option selected, a function would dynamically generate a mixin.

I'll try my best to implement it. Once he gives the green signal that the pattern has been properly implemented, I'll post it here.