/react-finland-xstate-2022

React Finland 2022 XState Workshop

Primary LanguageJavaScriptMIT LicenseMIT

React Finland XState Workshop

Welcome to the React Finland workshop on State Machines and Statecharts with XState & React! In this workshop, we will be learning about software modeling with state machines and statecharts by building a real-world media player application.

Getting Started

  1. Run npm install or yarn
  2. Run npm run dev or yarn dev
  3. Navigate to any of the exercises:

What we're building

In this workshop, we will be building a media player. This app will allow you to like/ unlike a song, represented by the heart symbol. The next option the app will allow you to do is thumbs down the song, which will remove it from your playlist. The play/pause action will allow you to play or pause the current song. Then we have the forward/next option of the app that will allow you to skip the current song and load the next in queue. Next, you will have the option to mute/ unmute the current song that is playing.

media-player

We will be using state machines, state charts, and the actor model to build these features on our media player app.