Abstract
For this chapter, the goal is to add a button and append a row to the initial list of issues on the click of that button. You’ll add this button below the Issues table. By doing that, you’ll learn about a component’s state, how to manipulate it, how to handle events, and how to communicate between components.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
This is not entirely true. There is, in fact, state in this component: the state of the input fields as the user is typing. But you have not captured them as React state, and have let the browser’s native handlers maintain it.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Vasan Subramanian
About this chapter
Cite this chapter
Subramanian, V. (2017). React State. In: Pro MERN Stack. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2653-7_4
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2653-7_4
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2652-0
Online ISBN: 978-1-4842-2653-7
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books