State Monad in JavaScript

ClockIcon45m
javascriptJavaScript
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
Star icon$$$
4.1
326 people completed
Ian Hofmann-Hicks
By

Ian Hofmann-Hicks

Living to Learn and Learning to Live. Love to learn all the things I don't know and share the stuff I learn in the process.

Dealing with stateful computations can be a challenge when writing purely functional JavaScript. They can result in undesired variable declaration at best and boilerplate state management code in every function dependent on the state at its worst.

In this course we will explore a well know Algebraic Data Type named State, that is built from the ground up to address these 🌽cerns. While this course will be focused around a State implementation provided by a library named crocks, a majority of the techniques we learn here can be used with most of the State implementations in the wild.

This course is a community resource.

A Community Resource is a course that is free to access for all. The instructor of this course requested it to be open to the public. View all Community Resources →
Ian Hofmann-Hicks
By

Ian Hofmann-Hicks

Living to Learn and Learning to Live. Love to learn all the things I don't know and share the stuff I learn in the process.

This course is a community resource.

A Community Resource is a course that is free to access for all. The instructor of this course requested it to be open to the public. View all Community Resources →