List of Listings

 

Chapter 2. Your first Redux application

Listing 2.1. An outline of the Redux store

Listing 2.2. src/components/Task.js

Listing 2.3. src/components/TaskList.js

Listing 2.4. src/components/TasksPage.js

Listing 2.5. src/App.js

Listing 2.6. The store API in action

Listing 2.7. src/index.js

Listing 2.8. src/reducers/index.js

Listing 2.9. src/reducers/index.js

Listing 2.10. src/index.js

Listing 2.11. src/App.js: connecting components

Listing 2.12. Adding the New Task form

Listing 2.13. Logging this.props in src/App.js

Listing 2.14. src/App.js: adding an action handler

Listing 2.15. src/actions/index.js: the createTask action creator

Listing 2.16. src/reducers/index.js

Listing 2.17. src/App.js

Listing 2.18. src/reducers/index.js

Listing 2.19. src/reducers/index.js

Listing 2.20. src/components/Task.js

Listing 2.21. src/actions/index.js

Listing 2.22. src/App.js

Listing 2.23. src/components/TasksPage.js

Listing 2.24. src/components/TaskList.js

Listing 2.25. src/components/Task.js

Listing 2.26. src/reducers/index.js

Chapter 3. Debugging Redux applications

Listing 3.1. src/index.js

Listing 3.2. src/index.js

Listing 3.3. src/index.js

Chapter 4. Consuming an API

Listing 4.1. src/reducers/index.js

Listing 4.2. src/App.js

Listing 4.3. src/actions/index.js

Listing 4.4. src/api/index.js