You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But in the case when randomId is a dynamic prop and we cannot define a class to it I don't really know what would be the best way to parse that object. Could you help please?
The text was updated successfully, but these errors were encountered:
I was trying to transform dynamic object props, but can't figure it out. Let's assume we have an object with dynamic props as following:
info_details: {[randomId]: {user_names: [ 'Julia', 'Alex' ] } }
The problem:
Normally we would use something like this:
But in the case when
randomId
is a dynamic prop and we cannot define a class to it I don't really know what would be the best way to parse that object. Could you help please?The text was updated successfully, but these errors were encountered: