Egghead Instructor Josh Burgess

Josh Burgess

Programmer. λ, music, & auto enthusiast. Information sponge. @reactjstampabay co-organizer.



Unlock all of Josh's PRO Lessons
click for instant access!

Browse Josh Burgess's lessons.

showing 3 lessons...

Use Lifecycle Events with Functional Components with Inferno

Use Traverse & the Maybe Monad to Safely Process Lists of Data with Sanctuary

Create an Observable-Based Fetch Wrapper Using Ramda & Most

P

Use Lifecycle Events with Functional Components with Inferno

4:11 js

Inferno is an insanely fast, 9kb React-like library for building high-performance user interfaces on both the client & server. Outside of performance, Inferno also offers some nice features that aren't currently available in React, like the ability to use lifecycle events with stateless/pure functional components, which is great for people who prefer functions over classes. In this lesson, we demonstrate how this is accomplished.

Use Traverse & the Maybe Monad to Safely Process Lists of Data with Sanctuary

8:00 js

Sanctuary.js is a functional programming library for JavaScript. It's similar to Ramda, but more strict and includes extra features, like the error handling monads Maybe & Either. It's also similar to Folktale, but primarily takes influence from Haskell & PureScript instead of Scala. In this lesson, we use Sanctuary's Traverse and the Maybe monad to safely process lists of data while gaining insight into the relationship between Traverse & Sequence.

js tutorial about Create an Observable-Based Fetch Wrapper Using Ramda & Most

Create an Observable-Based Fetch Wrapper Using Ramda & Most

2:56 js PRO

Unlike RxJS, Most does not include an observable-based AJAX helper utility. However, it can be very convenient to have one, because it allows you to use streams to do things like declaratively handling errors & setting up cancellation. In this lesson, we use currying & functional composition to create an Observable-based wrapper around the fetch API with Ramda & Most.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?