Thanks for your response man! I agree with you that if the Object is typed as we do in TypeScript you would not have a big issue with missing properties.
Map you don’t get that error which can interrupt the user experience.
Next to the
Map optional chaining can also solve this problem. What do you think about that?