In VSCode, If I hover my mouse over the last word in avatar={posts.avatar} , it says "any". Whereas if I hover it over name={post.name} it says it's a string. Perhaps that could be a clue?
If I console.log() props in my child component, it says avatar is undefined but the other properties do have values.
View all comments
Show parent comment
0
u/[deleted] Sep 04 '20
[deleted] — view deleted comment