hyper/lib/terms.ts
2020-01-02 21:11:35 +01:00

11 lines
332 B
TypeScript

import Term from './components/term';
// react Term components add themselves
// to this object upon mounting / unmounting
// this is to allow imperative access to the
// term API, which is a performance
// optimization for the most common action
// within the system
const terms: Record<string, Term> = {};
export default terms;