shadowing variables • avoid cyclic dependency • avoid inheritance • avoid mutation • prefer explicit dependency • prefer stateless functions • pure functions are testable • … I can just apply functional techniques instead of switching to a functional language
shadowing variables • avoid cyclic dependency • avoid inheritance • avoid mutation • prefer explicit dependency • prefer stateless functions • pure functions are testable • … I can just apply functional techniques instead of switching to a functional language
• avoid cyclic dependency • avoid inheritance • avoid mutation • prefer explicit dependency • prefer stateless functions • pure functions are testable • … I can just apply functional techniques instead of switching to a functional language
fi x • avoid shadowing variables • avoid cyclic dependency • avoid inheritance • avoid mutation • prefer explicit dependency • prefer stateless functions • pure functions are testable • … I can just apply functional techniques instead of switching to a functional language
Render DOM Call Javascript Http response Input change Mouse move Pure Function Pure Function Pure Function Pure Function Pure Function Pure Function Pure Function Pure Function Pure Function