0

Lets assume I got an array holding 5000 objects. I want to render a table containing all attributes of the contained objects as a table row <td>. Is it possible to somehow return the current row of <td> within each iteration and immediately render the output to the browser. So that you could see the table getting larger at the screen for each of the 5000 objects?

1

1 Answer 1

1

Is it possible to somehow return the current row of within each iteration and immediately render the output to the browser. So that you could see the table getting larger at the screen for each of the 5000 objects

Yes. Use the key attribute so that the DOM for existing objects doesn't need to change : https://facebook.github.io/react/docs/lists-and-keys.html

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.