I think what you're looking for is what can you do other than prop drilling
-- what you mentioned.
If you want to pass a prop let's say down 10 children, a good idea would be to pass the prop onto a global state like context, redux, zustand, etc. So that you can access the state / data/ etc anywhere without drilling down.