Any component can be connected to the Redux store using
connect. This makes it easy to share data between screens - even screens that aren't in the same navigation stack.
We'll connect the About screen to the redux store, and pull the list of todo items. Then, we can compute the number of completed and uncompleted items, and display that on the About page.
Summary of Content:
- Connect the About page to the redux store
- Pull the full list of items from the store
- Compute the number of completed and uncompleted items, and display that in a summary label on the About screen.