I have to create a text area which taken multiple links then I split() into array yeah Its working fine, but I want to set that array into my state in
split()
state
setState is asynchronous. That means it doesn't happen right away, but a very short time later instead. If you add a:
setState
console.log(linkList)
to the top of your render method, you will see the items being appended just as you expect.