I'll show one of the problems Dependency Injection solves in Object Oriented Programming code bases, then show a similar technique in Functional code. You just use function arguments. Once you grok this, you'll be equipped to grok the more advanced partial application use.
Blog Post: https://dev.to/jesterxl/how-to-use-dependency-injection-in-functional-programming-1jk4
Mark Seemann's DI video: https://www.youtube.com/watch?v=cxs7oLGrxQ4
Code: https://github.com/JesterXL/dependency-injection-in-functional-programming
JavaScript Pipeline Operator: https://github.com/tc39/proposal-pipeline-operator
Babel Plugin: https://babeljs.io/docs/en/babel-plugin-proposal-pipeline-operator