From efa57465d4d57dd2cbc158fc71714ccbdab09453 Mon Sep 17 00:00:00 2001 From: nisoojadhav Date: Sun, 24 Jul 2022 16:33:10 +0530 Subject: [PATCH] removed an extra dot and space --- 08_Day_States/08_states.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/08_Day_States/08_states.md b/08_Day_States/08_states.md index cc40a01..005e627 100644 --- a/08_Day_States/08_states.md +++ b/08_Day_States/08_states.md @@ -39,7 +39,7 @@ State is an object in react which let the component re-render when state data ch ## How to set a state -We set an initial state inside the constructor or outside the constructor of a class based component. We do not directly change or mutate the state but we use the _setState()_ method to reset to a new state. . As you can see below in the state object we have count with initial value 0. We can access the state object using _this.state_ and the property name. See the example below. +We set an initial state inside the constructor or outside the constructor of a class based component. We do not directly change or mutate the state but we use the _setState()_ method to reset to a new state. As you can see below in the state object we have count with initial value 0. We can access the state object using _this.state_ and the property name. See the example below. ```js // index.js