Functional JS: Creating a Command Loop
Handling Impure Actions in a Pure Application
Published in
10 min readOct 25, 2020
If you’ve been studying up on Functional Programming in JS, you’ve probably heard about pure and impure functions, and side-effects. If not, I’ll quickly recap — a pure function is one that when given the same parameter any number of times, for each of those invocations it will produce the same result. Pure functions…