Send props to View

Hello,on my React app I would like to send a prop to the View element(which renders all the route components) so I can access the prop on all the View components,how can I do that beside storing those in the App’s data?

In React it usually done with context