ThroughProvider

This is communication center which must be the parent of all react elements

Props

  • children: ReactElement: Whole react tree of the applcation

Examples

const theApp = (
  <ThroughProvider>
    <App />
  </ThroughProvider>
)

ReactDOM.render(theApp, document.getElementById('root'))

Last updated