I searched on this question but all I got is we can make a Button, Scroll bar etc using a Widget. And we can create it using React.createClass (which I think is no longer available in latest versions of react).
Can someone please give me a sample code to show how exactly this react widget created and how technically (functionally) it is different from a normal react Class/Component??
Edit: What are the application areas where we can use a react widget??? I'm not clear why we should create a react widget??