Skip to content

Instantly share code, notes, and snippets.

View willgriffiths's full-sized avatar
🧗
Hanging out in the back of the front end.

Will Griffiths willgriffiths

🧗
Hanging out in the back of the front end.
View GitHub Profile
@willgriffiths
willgriffiths / reddit.md
Last active July 24, 2019 11:37 — forked from davidkpiano/reddit.md
XState + React + Reddit API Tutorial (Review)

Reddit API

Suppose we wanted to create an app that displays a selected subreddit's posts. Specifically, the app should be able to:

  • Have a predefined list of subreddits that the user can select from
  • Load the selected subreddit
  • Display the last time the selected subreddit was loaded
  • Reload the selected subreddit
  • Select a different subreddit at any time