Jul 21, 2017 · 1 min read
Sometimes we want instances of classes returned by the factory, not only objects. I wrote an article about the factory pattern (in ES6) a few months ago to solve that need. Would you say it cannot be considered a factory?
Sometimes we want instances of classes returned by the factory, not only objects. I wrote an article about the factory pattern (in ES6) a few months ago to solve that need. Would you say it cannot be considered a factory?