09:16
That's some way of type checking in React. Because I started coding from C++, it's more comfortable for me to see and describe types of variables in code)
Nothing will fail if you pass prop which doesn't match to described type, but you'll see an error in browser console
I personally think that it makes code more "predictable" and readable, when you see structure of variables/objects