A presentation about the basics of HoC, Presentational Layers, Container Components, but mostly recompose and how to structure projects in a more functional way.
in order to produce a return value. Partial Application: The process of applying a function to some of its arguments. It takes a function with multiple parameters and returns a function with fewer parameters. Add(x,y) = x + y Add2 = Partial(Add, 7)
=> arg } if (funcs.length === 1) { return funcs[0] } const last = funcs[funcs.length - 1] return (...args) => { let result = last(...args) for (let i = funcs.length - 2; i >= 0; i--) { const f = funcs[i] result = f(result) } return result } }