Context

February 15, 2018 · View on GitHub

libreact provides a range of component's that use React's context API and components that allow you to easily use React's context.

  • <Provider> and <Consumer> — utilities to work with React's context.
  • <Theme> and <Themed> — theme provider and consumer.
  • <CssVarsProvider> — use CSS variables today.
  • <Router>, <Route>, and <Go> — best router for React.
  • <Translations> and <Translate> — translation provider and consumer.