This is the reason I just said #fuckit and went full #elm lang. on my way to functional programming redemption.
#Elm is life!!