August 2017
Beginner
374 pages
10h 41m
English
In this small example, we only need one container component, ConnectedPostList:
import React from 'react'
import PostList from '../components/PostList.jsx'
export default class ConnectedPostList extends React.Component {
This component will actually be very similar to our Timer example. However, we use the life cycle methods to (un-)subscribe to the Redux store, instead of creating and removing a setInterval timer.
Read now
Unlock full access