# Ionic/storage with React

**URL:** <https://forum.ionicframework.com/t/ionic-storage-with-react/177742>\
**Category:** Ionic Framework\
**Created:** [November 16, 2019, 4:51pm UTC](https://forum.ionicframework.com/t/ionic-storage-with-react/177742 "2019-11-16T16:51:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ct179](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@ct179](https://forum.ionicframework.com/u/ct179)\
**Post date:** [November 16, 2019, 4:51pm UTC](https://forum.ionicframework.com/t/ionic-storage-with-react/177742/1 "2019-11-16T16:51:17Z")

</div>

Hi All,

I’m new to Ionic and chose to pair it with React in an effort to learn both. I’m currently trying to do a simple .set and .get of a key value with @ionic/storage in React. Can an anyone provide a simple example of this as all examples I am finding online are using Angular? Would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![ct179](https://avatars.discourse-cdn.com/v4/letter/c/4bbf92/32.png) [@ct179](https://forum.ionicframework.com/u/ct179)\
**Post date:** [November 19, 2019, 12:30pm UTC](https://forum.ionicframework.com/t/ionic-storage-with-react/177742/2 "2019-11-19T12:30:23Z")

</div>

Following up, my solution was to use Capacitor instead:

[https://capacitor.ionicframework.com/docs/apis/storage/](https://capacitor.ionicframework.com/docs/apis/storage/)

---

<div class="post-metadata">

**Author:** ![ngbsoft](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@ngbsoft](https://forum.ionicframework.com/u/ngbsoft)\
**Post date:** [September 27, 2021, 7:19am UTC](https://forum.ionicframework.com/t/ionic-storage-with-react/177742/3 "2021-09-27T07:19:51Z")

</div>

Good choice, as a newbie, working with @ionic/storage it so complicated. Maybe I will figure it out later and update this thread
