You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This folder contains implementation of React application with example of State Persistence About feature using [Hierarchical Grid](https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html) component.
> **_NOTE:_** You should use [master](https://github.com/IgniteUI/igniteui-react-examples/tree/master) branch of this repository if you want to run samples on your computer. Use the [vnext](https://github.com/IgniteUI/igniteui-react-examples/tree/vnext) branch only when you want to contribute new samples to this repository.
cd ./samples/grids/hierarchical-grid/state-persistence-about
38
+
```
39
+
40
+
open above folder in VS Code or type:
41
+
```
42
+
code .
43
+
```
44
+
45
+
In terminal window, run:
46
+
```
47
+
npm install --legacy-peer-deps
48
+
npm run-script start
49
+
```
50
+
51
+
Then open http://localhost:4200/ in your browser
52
+
53
+
54
+
## Learn More
55
+
56
+
To learn more about **Ignite UI for React** components, check out the [React documentation](https://www.infragistics.com/products/ignite-ui-react/react/components/general-getting-started.html).
<span>By default navigating to the previous page, components will reinitialize as per their initial configuration, therefore the IgrHierarchicalGrid will lose its state.</span>
19
+
<br/>
20
+
<span>What our App Component does is reading the state from the window.localStorage object and applying the corresponding state in the `useEffect`` hook.</span><br/>
0 commit comments