react-through
  • README
  • Introduction
    • Motivation
    • Core Concepts
  • Basics
    • Installation and setup
    • Direct Mapping
    • Many Agents
  • Glossary
  • API Reference
    • ThroughProvider
    • createAgent
    • createAdvAgent
    • Through
    • throughDirect
    • throughArea
    • throughContainer
    • Internals
      • Internal Agent Interface
Powered by GitBook
On this page
  • Props
  • Examples
  1. API Reference

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'))
PreviousAPI ReferenceNextcreateAgent

Last updated 5 years ago