I just started out with React and I have a use case where I need to display form data that is already fetched from an API. The form data is pretty complex and I am also having a tough time using JSX. The data can be found here - https://stackblitz.com/edit/react-nhjmzv
The idea is to display the data in two sections, each section with the title and below the title, display the form labels and their corresponding values. Kind of like a read only view of the form. The data is completely dynamic so might grow in the number of key-value pairs.
Any help or direction to go in is appreciated. I tried for in loop to iterate but somehow React doesn't like it and learnt a bit about that as well. I am also going through other SO questions as I post this. Thanks in advance.
Edit - I have access to lodash if that helps Edit 2 - Changed stackblitz link to the edit version