Reactium
  • Quick Start
  • Discuss
  • Approach
    • Architecture
    • DDD Introduction
    • Domain Model
  • Reactium App Foundation
    • Reactium Guides
      • Creating a Simple Single Page Web App (SPA)
      • Creating a Sassy Style Sheet
      • Reactium Core
      • Reactium + Actinium (APIs)
      • Reactium + REST
      • Plugin Module Guide
      • Animating React Routes
      • Reactium in Production
    • Reactium Domain Model
      • Basic Domain Model
      • Runtime Domain Model
      • Buildtime Domain Model
    • Reactium SDK
      • Reactium SDK Reference
    • Updating Reactium
  • Installing Foundations
    • Before You Install
    • Install Reactium
    • Install Actinium
  • Reactium API Foundation (Actinium)
    • Actinium Core
    • Setting up your User
    • Actinium SDK
      • Actinium SDK Reference
    • Actinium Domain Model
    • Extending
    • Updating
    • Live Query
  • Reactium Toolkit
    • Overview
    • Installation
    • Configuration
    • Customization
    • Creating Elements
      • Sidebar Elements
      • Toolbar Elements
      • Documentation Elements
    • Components
      • Sidebar
      • MenuLink
      • Element
      • Code
      • Markdown
      • Icon
    • Toolkit SDK
Powered by GitBook
On this page
  1. Reactium App Foundation

Reactium SDK

The Reactium SDK is imported from the ES Module, and provides useful means of extending and using the Reactium foundational framework.

PreviousBuildtime Domain ModelNextUpdating Reactium

Last updated 1 year ago

Reactium SDK

When we speak of the "Reactium SDK", we are generally referring to:

  • the Reactium Singleton object, imported like so: import Reactium from 'reactium-core/sdk';

  • or, a number of named exports, such as custom React hooks, string translation utilities, etc, e.g. import { useHookComponent } from 'reactium-core/sdk';

  • A list of documented Reactium "hooks". A Reactium hook (not to be confused with ), is a named tag for which you can register callbacks. You can both register hooks in your code to run when important things happen in Reactium, and create your own invocations where others can register callbacks.

'reactium-core' used in an import statement in Reactium is a babel-alias for the path to the'.core/' directory, which can be used anywhere in your code so you don't need to know the relative path.

React Hooks