Few months back I was very new to this topic, later I worked a lot on this and found that there is a need of collaborating all nashorn+react examples at a single place.
So, I created this codehub where you can find all such types of working examples for integrating AEM with REact using Nashorn. Please go through it & share your feedback. All Q&A are most welcome:
For detail about code: https://github.com/ckj0369/nashornCode