Ionic/storage with React

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!

Following up, my solution was to use Capacitor instead:

https://capacitor.ionicframework.com/docs/apis/storage/

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