@vue-beans/beans
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

Gravity Beans

  • Create and initialize any class with empty constructor.
  • Initialize lazy properties
  • Reactive Beans with @Reactive()
  • Ciclo de vida del bean

constructor before setup setup

Bean

export type Bean = {
    beforeSetup?: (...args: unknown[]) => void;
    setup?: (...args: unknown[]) => void;
    eventbus?: EventBus<unknown>;
};

Next

  • Destroy in the cycle (I don't know if it is necesary, justify.)
  • async initializers (I don't know if it is necessary, justify.)

Readme

Keywords

Package Sidebar

Install

npm i @vue-beans/beans

Weekly Downloads

0

Version

0.2.1

License

MIT

Unpacked Size

26.1 kB

Total Files

8

Last publish

Collaborators

  • alilozanoc