Sep 3, 2018 · 1 min read
well, kind of interesting article, but in my humble opinion far from good practices. As some people pointed out, it’s not the best approach in terms of performance, then it also introduces unnecessary complexity. Why not go with es6 imports, which are also kind-of freezed (you can’t change the import’s reference) + plain functions? I find keeping things simple improves overall solution in most of the cases. ES6+ gives you a lot of tools ootb.
