Skip to content
Advertisement

Display dynamic arraylist using reactJS

I am working on building a web application using reactJS. We should display the product users subscribed to. Number of products each user subscribes to differs. For Example, here is the response :

JavaScript

So, the subscription data is dynamic. How can I display the above data in tabular data as follow :Mock User can subscribe to any number of products.. as of now we don’t have users who subscribed to more than 4 products.

Advertisement

Answer

First of all , your data is a mess and it has not proper structure. correct it first and then this should might help you:

JavaScript
User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement