An idea can transform the world and rewrite all the rules...
Thursday, August 4, 2016
Stateful ReactJS Components
With last post, I created a stateless ReactJS components. However, most of the time we need to have stateful components.
With this demo, will go through stateful components.
First add MyComponent into App.js file.
Then change App.js code like below.
Open your browser and enter data to each text field. Then you will see the difference.