A React version of the sample code demonstrated in official ArcGIS tutorial
React ArcGIS Identity OAuth Basic
This project is a React version of the sample code demonstrated here in official ArcGIS tutorial. It uses OAuth2 to authenticate with ArcGIS Online and then uses the ArcGIS API for JavaScript to display the user’s portal items.