UNPKG

impair

Version:

impair is a React framework bringing several programming concepts together in order to provide a foundation for a layered, scalable, performant and enterprise level react application.

9 lines (8 loc) 408 B
import { Registration, Registrations } from '../types'; /** * Produce a stable array ref of registrations from the provided services. * Detects HMR Instance replacement and updates accordingly. * * Also handles [token, object] registrations by converting the object into a shallow reactive object to be injected */ export declare function useRegistrations(registrations: Registrations): Registration[];