React and in-app purchases, any examples?

I’m new to React but I managed to build an app with Ionic, great! Now I want to add subscriptions, but I’m really having trouble figuring out how to do it.

I found some tutorials for angular, and the official docs also have angular examples:

Unfortunately, I don’t know angular. Is there an example for React out there somewhere?