I always use Redux, but can do this by three method:
JavaScript EventEmitter.
JavaScript observable(RxJs).
Another good way is window object
Store your all variable/function in window object.
Pass window as param from root(index.js)
Index.js must have a function which check changes of window object and set new state so
when state change then param also going to change and render function call again