0 votes
in ReactJS by
edited by
What is the declarative way to render a dynamic list of components based on values in an array?

a) Using the reduce array method

b) Using the <Each /> component

c) Using the Array.map() method

d) With a for/while loop

1 Answer

0 votes
by

C is the correct option. The Array.map() method is used to render a dynamic list of components based on values in an array.

Related questions

0 votes
asked Apr 15, 2022 in ReactJS by Robindeniel
0 votes
asked Apr 15, 2022 in ReactJS by Robindeniel
...