When we apply onclick event to an element, sometimes we need to pass ID of that element to the event handling function. We can do this by passing id to function as this.id or we can pass the element ...
react-html-parser works fine for tags but its not including onClick events if present in my string , how to make it to include onClcik event also.