I am building a project using React.js as a front-end framework. On one particular page I am displaying a full data set to the user. I have an Array which contains this full
Yes, you can map portion of array, based on index. For example:
yourArray = yourArray.map(function (element, index, array) { if (array.indexOf(element) < yourIndex) { return { //logic here }; } else { return { //logic here }; } });