React: Crash Course
A (semi-)interactive presentation on React, Redux, and Sagas.
Presentation
Expected duration: 1 hour
The goal of the presentation is to give you a mental framework to work with when developing a React application. It leaves out many of the specifics of the technology to focus on why you might choose to go one direction over another.
Try it Yourself
Expected duration: 30 minutes
Install
cd path/to/repo/example
npm install
npm start
Option 1: Create a Blog Post
- Replace
<HelloWorld />
with an<App />
that will contain all of your following components. - Create a generic
<Header />
. - Create a generic
<Paragraph />
. - Create a specialized
<Lead Paragraph />
.
Option 2: Interact with JSONPlaceholder
- Create a component to render the response from JSONPlaceholder.
- Setup actions and reducers to request the response and store the response in the store.
- Handle success and errors by using Sagas.