I need to create a input textarea that recognize words from the array of words in this.state and highlight the words while the user type the text:
expected results:
the code with array
const arrOfWords = ["disposition", "distress", "vex", "governess", 'intimacy', 'footing', 'unreserve', 'intellectual', 'solitude']