Is it ok to have all the functions inside of the App.js in React and then passing them to the other components through context:
export default class App extends C