1. 4
    Handle Branching Logic with Ramda's Conditional Functions
    5m 30s

Handle Branching Logic with Ramda's Conditional Functions

Andy Van Slaars
InstructorAndy Van Slaars

Share this video with your friends

Send Tweet

When you want to build your logic with small, composable functions you need a functional way to handle conditional logic. You could wrap ternary expressions and if/else statements in functions, handling all of the concerns around data mutation yourself, or you could leverage the conditional functions supplied by Ramda. In this lesson, we'll cover several of Ramda's conditional functions: ifElse, unless, when and cond

Stephen James
Stephen James
~ 2 years ago

It took a bit to understand this as you hadn't introduced what lensProp or over do

Francisco
Francisco
~ 2 years ago

It took a bit to understand this as you hadn't introduced what lensProp or over do +1