My Development Notes

Programming Made Easier


Tag: state variable

  • React State : Basics with Real World Examples

    React State is actually an object with encapsulated data which changes in response to instructions given to it using event listeners and handlers. For example, clicking the ‘add item’ button should take you to a screen where the item is added to a shopping cart, or clicking the ‘next page’ link should take you to…