Added withNgxsEmitPlugin() to support standalone feature
Following @ngxs/store's footstep to deprecate @Emitter selector. Every @Emitter usage should be replaced with the following:
class UsersComponent {
@Emitter(AppState.deviceId) setDeviceId: Emittable<string>;
// Should become the following
setDeviceId: Emittable<string> = inject(EmitStore).emitter(AppState.setDeviceId);
}
Updates
withNgxsEmitPlugin()
to support standalone feature@Emitter
selector. Every@Emitter
usage should be replaced with the following: