githubEdit

Chapter 8: Incorporating Data

Data is the lifeblood of our applications. It flows like water, and it nourishes our components with value. The user interface components we've composed are vessels for data. We fill our applications with data from the internet. We collect, create, and send new data to the internet. The value of our applications is not the components themselves—it's the data that flows through those components.

Samples

Requesting Data

  1. requestGithubUser (run itarrow-up-right)

Authorized Requests

  1. Fetching with the GitHubUser Component (run itarrow-up-right)

  2. GitHubUser Component with localStorage (run itarrow-up-right)

Handling Promise States

  1. Handling States (run itarrow-up-right)

Render Props

  1. Displaying a List (run itarrow-up-right)

  2. List with Data (run itarrow-up-right)

  3. Conditional Render Prop Function (run itarrow-up-right)

Virtualized Lists

  1. Rendering a List with faker (run itarrow-up-right)

  2. Rendering a Virtualized List with react-window (run itarrow-up-right)

Fetch Hooks

  1. Fetch Component (run itarrow-up-right)

  2. Customizing Loading (run itarrow-up-right)

  3. Scrolling through Repos with useIterator (run itarrow-up-right)

  4. Incorporating React Markdown (run itarrow-up-right)

Last updated