Capture Application Logic in Pure Functions to Create Immutable State

Share this video with your friends

Send Tweet

Our core logic of the Gifts application is written using pure functions, that produce an entirely new, immutable state. This allows us to reap the benefits of immutability in the remainder of the course.