Similar to the plain identify API example, but from a ReactJS web application which imports the SDK npm module.
See our GitHub for the source code.