Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

egghead.io

Implementing a Word Game with Patterns and React

via egghead.io

Overview

In the previous section, 07 Building Light Search Box, we implemented a search box with the pattern that we've built in this course. This works great but doesn't have as much business logic applied as other async scenarios.
In this section, we will implement a word game where the values coming in from the user will be piped to different listeners to be consumed. Along the way, complex business logic will be applied to determine if the user won the game or not.
You're in Section 08, the last of Composing Closures and Callbacks in JavaScript

Syllabus

  • Share the Same Broadcaster Values Across Multiple Listeners
  • Limit to a Single Shared Broadcaster Each New Event
  • Combine Two Broadcasters to Compare Values
  • Compose Operators to Implement Game Logic
  • Fetch New Data Based on Conditions
  • Create an Initialize Operator to Clear an Input Field
  • Combine Broadcasters in Logical Order
  • Refactor Game State to a Single Repeating Broadcaster
  • Check Broadcasters Are Properly Cancelled in Operators
  • Organizing Operators and Cleaning Up
  • Walkthrough the Data Flow of the Word Game
  • Exploring the Patterns in the Operators
  • Comparing Similarities with Popular Async Libraries

Taught by

John Lindquist

Reviews

5 rating at egghead.io based on 10 ratings

Start your review of Implementing a Word Game with Patterns and React

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.